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!!
-