Re: Memory management in Linux

From: Josef E. Galea
Date: Wed Dec 29 2004 - 10:12:17 EST


Coywolf Qi Hunt wrote:

On Wed, 29 Dec 2004 14:05:44 +0100, Josef E. Galea
<josefeg@xxxxxxxxxxxxxx> wrote:


Hi all,

Does the linux kernel allow a process to handle its own memory pages
instead of using the kernel's virtual memory manager?

Thanks & Happy Holidays
Josef




That's quite related to ``adaptive page replacement''. Linux doesn't
support that at present imho.

--cqh




Ok I may have got the name wrong :). What I am trying to do is to implement a package on linux similiar to the TreadMarks by Alan Cox et al. (ref. http://citeseer.ist.psu.edu/amza96treadmarks.html) that runs at kernel level instead of user level. Right now I think that inorder to achieve what I want to do, I have to change the code of the linux virtual memory manager. This is ok for academic purposes (which is my aim) however it severly reduces portability (it is much easier to just load a kernel module than to patch and recompile the kernel).

Thanks
Josef
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/