Thomas Bushnell BSG <[EMAIL PROTECTED]> writes:

> "Neal H. Walfield" <[EMAIL PROTECTED]> writes:
> 
> > You need to drain the cache once in a while.  You need some kind of
> > strategy.
> 
> As I said, LRU is easy.
> 
> > Fine, but this is extra memory per region and it needs to be updated
> > fairly often.  This is all gotten rid of when we just clear a mapping
> > when the kernel does.
> 
> You still need the ref count!  Where are you going to put it?

Oh, and frankly, *any* strategy, like say "punt a random mapping" is
probably ok, since the more important issue is short-term use anyway.

Don't you have some kind of list of mappings somewhere?  How do you
keep track of them?  (Especially since you said that sometimes in your
scheme you must force an eviction--how do you locate one?)



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

Reply via email to