Re: writable swap cache explained (it's weird)

Benjamin C.R. LaHaise (blah@kvack.org)
Thu, 30 Jul 1998 22:15:57 -0400 =?ISO-8859-1?Q?(8UU=01?=)


On Thu, 30 Jul 1998, Alan Cox wrote:

> It would be better to fix DOSemu. Firstly about 2/3rds of the DOSemu uses
> seem to be fixable now we have mremap(). The others - aliasing emulations
> are less funny but could be messily done with sys5 shm.

Y'know, I thought DOSemu used sys5 shm already... Hmpf!

> 2.0.x question - why did this work ok in 2.0 (did it in fact work ok in 2.0)

Quite simply, it doesn't. If the page ever gets swapped out, it'll come
back in write protected, and get COW'd on a subsequent write fault.

-ben

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html