On Fri, 20 Oct 2000, Jeff Garzik wrote:
>
> If I understand your patch, I should call vma_reserve(), and then
> completely remove my no-op swapout(). Correct?
Note that I dislike "wrapper.h", and I just removed that part.
I don't think it's any clearer to write "vma_reserve(vma)" than it is to
just say "vma->vm_flags |= VM_RESERVE".
But yes, add that line and remove the swapout, and you should be golden -
no unnecessary faults (well, it won't pre-fault, of course) and no trouble
with calculating locked pages.
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: mapping user space buffer to kernel address space Andrea Arcangeli
- Re: mapping user space buffer to kernel address space Linus Torvalds
- VM_RESERVED [was Re: mapping user space buffer to kernel ... 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... 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

