Re: Forbid deletion of memory mappings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Clemens Kolbitsch
Date: Thursday, August 30, 2007 - 3:05 pm

On Thursday 30 August 2007 23:50:21 Valdis.Kletnieks@vt.edu wrote:

puh... that is a good question :-)

I'm writing my master's thesis on a new model of memory protection and need to 
have every memory mapping in userspace duplicated. I also have kind of a 
second PGD/PTD that allows finding this mirrored mapping.

However, as the number of original mappings grows, I suddenly have the problem 
that the kernel tries to allocate a new mapping and picks the address of a 
mirrored memory page, which it shouldn't.

Honestly, I don't understand why it does so, but it simply does... so 
basically I want these second mappings to stay in memory as long as the 
original page.

What do you mean exactly with


??

By the way / @Jiri Kosina:


I know... I'm not even saying that this is a bug... I just wonder if there is 
some way to avoid this problem :-)

Thanks for your help - i really appreciate that!!
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Forbid deletion of memory mappings, Clemens Kolbitsch, (Thu Aug 30, 9:44 am)
Re: Forbid deletion of memory mappings, Jiri Kosina, (Thu Aug 30, 10:07 am)
Re: Forbid deletion of memory mappings, Clemens Kolbitsch, (Thu Aug 30, 10:09 am)
Re: Forbid deletion of memory mappings, Clemens Kolbitsch, (Thu Aug 30, 2:32 pm)
Re: Forbid deletion of memory mappings, Jiri Kosina, (Thu Aug 30, 2:34 pm)
Re: Forbid deletion of memory mappings, Clemens Kolbitsch, (Thu Aug 30, 2:41 pm)
Re: Forbid deletion of memory mappings, Valdis.Kletnieks, (Thu Aug 30, 2:50 pm)
Re: Forbid deletion of memory mappings, Jiri Kosina, (Thu Aug 30, 2:55 pm)
Re: Forbid deletion of memory mappings, Clemens Kolbitsch, (Thu Aug 30, 3:05 pm)
Re: Forbid deletion of memory mappings, Helge Hafting, (Tue Sep 4, 3:17 am)
Re: Forbid deletion of memory mappings, Clemens Kolbitsch, (Tue Sep 4, 3:29 am)
Re: Forbid deletion of memory mappings, linux-os (Dick Johnson), (Tue Sep 4, 7:53 am)