Messages in this thread | | | Date | Fri, 3 Oct 2003 22:47:27 -0700 | From | "David S. Miller" <> | Subject | Re: mlockall and mmap of IO devices don't mix |
| |
On Fri, 3 Oct 2003 17:27:27 -0700 Andrew Morton <akpm@osdl.org> wrote:
> Maybe it's best to not overload VM_RESERVED in this manner, but to always > mark /dev/mem as VM_IO.
Just in cast is isn't clear, it should be defined that anything that sets VM_IO on an mmap() area should prefill the page tables as a side effect of such a mmap() request.
Then things like mlockall() have simple semantics on VM_IO area, they end up being a nop. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |