lkml.org 
[lkml]   [1999]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Process VM Addr to Kernel VM Addr at Interrupt Time.
Date
>   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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.046 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site