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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean