Messages in this thread | | | Date | Fri, 20 Oct 2000 11:25:02 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space] |
| |
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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |