lkml.org 
[lkml]   [1998]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 'disposable' dirty pages [was: Out Of Memory in v. 2.1]
Date
> > 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/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.051 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site