Re: 'disposable' dirty pages [was: Out Of Memory in v. 2.1]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 8 Oct 1998 19:02:51 +0100 (BST)


> Which isn't quite true, unfortunately. To make this true, the act of
> making the page DISCARDABLE should also zero it. Otherwise, you can tell
> whether a page was discarded by whether it contains data, which in turn

Not if you marked it discardable - you just said that zeroed it.

Since a page thats discarded will be returned as zero you just need a flag
around if you care. Another approach would be to fault such pages so you
pick up the buserr

-
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.tux.org/lkml/