Re: Progress! was: Re: Yet more VM writable swap-cached pages

Ganesh Sittampalam (ganesh.sittampalam@ox.compsoc.net)
Fri, 10 Jul 1998 02:22:36 +0100 (BST)


> reproduce some rather undesirable behaviour using PROT_NONE, and the pte
> trace from your own report also indicates that it may be the source of
> your own problems.

Confirmed with your piece of code. I ran that, ran something that
allocated and used 10megs several times to force it into swap, started it
up again, and started hitting swap hard with various things.

I got the VM errors and Bill's suggestion for debug info identified
protnone as the owner of the page. I allowed protnone to finish and the
errors stopped.

Since this is now 100% reproducible on my system, I'd be happy to
guinea-pig any fixes, however experimental.

Out of interest, do you know why you got different errors to me?

Cheers,

Ganesh

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