bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Review of Thomas's >2GB ext2fs proposal


From: Neal H. Walfield
Subject: Re: Review of Thomas's >2GB ext2fs proposal
Date: Tue, 17 Aug 2004 05:49:10 -0400
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.6 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

> I'm back online :-)

Welcome back.

> Neal H. Walfield wrote:
> > Yes, we remove the data from memory any time we remove a mapping but
> > we only remove mappings when Mach evicts the data.
> 
> Just a small techical correction: we remove mapping only when we are 
> remapping page to contain another block.  So when page is evicted, it 
> continues to map the same disk block until ext2fs decides that we want 
> this page to hold another block (only if page is still evicted, of
> course).

Well, I think we ought to drain the mapping cache when the page is
evicted.  This keeps memory usage lower.  Further, relative to the
cost of reading from disk, adding an entry to the hashes, etc. is
cheap.

Neal





reply via email to

[Prev in Thread] Current Thread [Next in Thread]