lkml.org 
[lkml]   [1999]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Questions regarding Linux swapping.
Actually, I've been looking for a way to lock down chunks of user memory from
within the driver I'm writing without the permission check in mlock. Is there a
clean, exported interface to this? Or perhaps it would be enough to set some
bit in the page tables (other than the dreaded reserved bit -- that would
probably trash the user program anyway). The kernel code to do this did not
seem to make much sense, but I'm no expert in the memory subsystem. Thanks!

-Andy Putman
National Instruments



-
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:53    [W:0.102 / U:1.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site