lkml.org 
[lkml]   [1999]   [Apr]   [28]   [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
> Can you explain why the original proposal would not work if he:
>
> mlock() on application buffer
> mapped the memory into kernel space
>
> >From mlock() man page this seems like it would be safe...

Suppose the page is shared by another process. You need to do page faulting
and copy on write even if you use mlock and make sure all the pages are
present.


-
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    [from the cache]
©2003-2011 Jasper Spaans