On Thu, 19 Oct 2000, Jeff Garzik wrote: > > I stole the last two lines from drivers/char/drm/vm.c, which might need > to be fixed up also.. He uses the vm_flags above and nevers calls > get_page, at the very least. The DRM code does atomic_inc(&virt_to_page(physical)->count); which is basically what get_page() expands into. The DRM code looks ugly, but correct, at least as far as this thing is concerned. But you're right about the mmap vm_flags/vm_file things. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Andrea Arcangeli
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Linus Torvalds
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Andrea Arcangeli
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Jeff Garzik
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Andrea Arcangeli
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Jeff Garzik
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Linus Torvalds
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Andrea Arcangeli
- Re: VM_RESERVED [was Re: mapping user space buffer to ker... Jeff Garzik
- Re: mapping user space buffer to kernel address space Jeff Garzik
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space faith
- Re: mapping user space buffer to kernel address space Stephen Tweedie
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Linus Torvalds
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Stephen Tweedie
- Re: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Stephen Tweedie
- Re: mapping user space buffer to kernel address space Linus Torvalds