"Neal H. Walfield" <[EMAIL PROTECTED]> writes:

> > 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.

I'm confused.  It sounded like Ognyan was saying that the page is
still assigned to the same area.  But it is necessary to vm_free when
the kernel tells you to page out.  It is unfriendly (and very bad for
performance) to hold on to the page.



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to