* Memory management in Linux
@ 2004-12-29 13:05 Josef E. Galea
2004-12-29 14:06 ` Coywolf Qi Hunt
2004-12-29 17:23 ` Florian Weimer
0 siblings, 2 replies; 5+ messages in thread
From: Josef E. Galea @ 2004-12-29 13:05 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory management in Linux
2004-12-29 13:05 Memory management in Linux Josef E. Galea
@ 2004-12-29 14:06 ` Coywolf Qi Hunt
2004-12-29 15:10 ` Josef E. Galea
2004-12-29 17:23 ` Florian Weimer
1 sibling, 1 reply; 5+ messages in thread
From: Coywolf Qi Hunt @ 2004-12-29 14:06 UTC (permalink / raw)
To: Josef E. Galea; +Cc: linux-kernel
On Wed, 29 Dec 2004 14:05:44 +0100, Josef E. Galea
<josefeg@euroweb.net.mt> 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
--
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory management in Linux
2004-12-29 14:06 ` Coywolf Qi Hunt
@ 2004-12-29 15:10 ` Josef E. Galea
2004-12-30 4:30 ` Walter Liu
0 siblings, 1 reply; 5+ messages in thread
From: Josef E. Galea @ 2004-12-29 15:10 UTC (permalink / raw)
To: Coywolf Qi Hunt; +Cc: linux-kernel
Coywolf Qi Hunt wrote:
>On Wed, 29 Dec 2004 14:05:44 +0100, Josef E. Galea
><josefeg@euroweb.net.mt> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory management in Linux
2004-12-29 13:05 Memory management in Linux Josef E. Galea
2004-12-29 14:06 ` Coywolf Qi Hunt
@ 2004-12-29 17:23 ` Florian Weimer
1 sibling, 0 replies; 5+ messages in thread
From: Florian Weimer @ 2004-12-29 17:23 UTC (permalink / raw)
To: Josef E. Galea; +Cc: linux-kernel
* Josef E. Galea:
> Does the linux kernel allow a process to handle its own memory pages
> instead of using the kernel's virtual memory manager?
You could play some tricks using mprotect(2), but I'm not sure if this
is enough for your application.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Memory management in Linux
2004-12-29 15:10 ` Josef E. Galea
@ 2004-12-30 4:30 ` Walter Liu
0 siblings, 0 replies; 5+ messages in thread
From: Walter Liu @ 2004-12-30 4:30 UTC (permalink / raw)
To: Josef E. Galea; +Cc: Coywolf Qi Hunt, linux-kernel
Josef E. Galea wrote:
> 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).
>
Kernel-level thread or code can modify mm_struct,vma,pde,pte,page
protection bits,etc.
I think that it can modify everything in kernel.
Regards,
LWT
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-12-30 4:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-29 13:05 Memory management in Linux Josef E. Galea
2004-12-29 14:06 ` Coywolf Qi Hunt
2004-12-29 15:10 ` Josef E. Galea
2004-12-30 4:30 ` Walter Liu
2004-12-29 17:23 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox