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

On Thu, 8 Oct 1998, Kenneth Albanowski wrote:

> Hmm... It's starting to sound like we are reinventing either zero mapping,
> or lazy clear of zero pages...

nope, it's just that the original proposal suggested a much broader
solution, the malloc() cache being just one user. Also there is a subtle
difference here, zero-mmap-ing is _mandatory_ (no matter wether it's lazy
or not), while disposable pages are disposed optionally. They will not be
touched (and stay cache-hot) in 99% of the cases, and they will be
disposed and recreated in 1% of the cases. This 're-creation' is:

- in the case of the malloc cache: reallocation and zeroing

- in the case of X or web browsers: some very application
dependent (and probably costy) re-creation.

-- mingo


-
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.055 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site