Re: How to read-protect a vm_area?

mshar@vax.ipm.ac.ir
Sat, 14 Feb 1998 18:25:11 +0330


Marking a page as not present without swapping it out could cause problems.
What if some other routines examine the page, and seeing that it has been
"swapped" (this is what they will assume when they see it is not present),
and decide to discard/reuse the page? I don't know if this can actually
happen, but how can we make sure??

In other words, can we cheat the kernel? The kernel is supposed to cheat
application programs :-)

-Kamran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu