2002-01-30 10:08:47

by Horst von Brand

[permalink] [raw]
Subject: Re: [reiserfs-dev] Re: Note describing poor dcache utilization under high memory pressure

Josh MacDonald <[email protected]> said:

[...]

> We're not talking about actively referenced entries, we're talking about
> entries on the d_lru list with zero references. Relocating those objects
> should not require any more locking than currently required to remove and
> re-insert the dcache entry. Right?

If they are unreferenced, they can be dropped without much cost. The
problem is what to do if you have 40 pages, each 1/10 filled with data in
active use.
--
Horst von Brand http://counter.li.org # 22616