Re: Questions regarding Linux swapping.

thomas.putnam@natinst.com
Mon, 2 Aug 1999 10:05:34 -0500


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/