Re: Process VM Addr to Kernel VM Addr at Interrupt Time.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 29 Apr 1999 13:31:15 +0100 (BST)


> mlock() doesn't fault the pages by itself. The user needs to do a read/write to
> fault the pages in order to have the mlock take effect. Once this happens, it
> should work.

Providing the user remembered

> The other option of allocation of kernel buffer and exporting the data to the user
> using mmap using MAP_PRIVATE will never work.

Why would you use mmap private for this ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/