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/