Messages in this thread | | | From | (Alan Cox) | Subject | Re: 'disposable' dirty pages [was: Out Of Memory in v. 2.1] | Date | Thu, 8 Oct 1998 19:35:50 +0100 (BST) |
| |
> > Not if you marked it discardable - you just said that zeroed it. > Well, that's the issue. It's more efficient if it doesn't.
When you discard a page you will need to put something back on a fault in. Thats going to be the zero page so the cost is basically nil. Its far more useful than a straight forward reclaim of zeroed pages because apps that know about it can use reclaimable memory for things like pixmap caches providing there is a suitable way to get info on what was discarded.
Alan
- 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/
| |