[coyotos-dev] Voluntary Pageout

Jonathan S. Shapiro shap at eros-os.org
Sat Jan 14 19:32:09 EST 2006


On Sun, 2006-01-15 at 03:37 +0600, Constantine Plotnikov wrote:
> If frame is not needed, why not just unmap it or remap to some other 
> sector (in that case libc considers mapped frames as cyclic buffer). If 
> frame is unmapped, other components of the process will be able to use 
> it. If the completely read frame is remapped to next unmapped sector of 
> the file on the disk, the page might be already loaded when cursor 
> reaches it (provided that the storage driver works asynchonously).
> 
> Constantine

Constantine:

First, remember that this is a persistent system, so in some sense there
*isn't* any unmap -- the address space that really holds the page is the
one in the file.

Second, unmapping does not necessarily accelerate the aging of the
frame, which is what we really are trying to achieve.

shap



More information about the coyotos-dev mailing list