lkml.org 
[lkml]   [2002]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: negative dentries wasting ram
From
Date
Andrea Arcangeli <andrea@suse.de> writes:
>
> Anyways in 2.5 we could still take advantage of the negative dentries as
> much as possible (also after unlink) by moving the negative dentries
> into a separate list and by putting the shrinkage of this list in front
> of kmem_cache_reap, so we are as efficient as possible, but we don't
> risk throwing away very useful cache, for more dubious caching effects
> after an unlink/create-failure that currently have the side effect of
> throwing away tons of worthwhile positive pagecache (and even triggering
> swap false positives) in some workloads.

Right treat the new never referenced negative dentries as second class
citizens until someone comes along and uses them, instead of aged useful
cache entries. This sounds like a very good solution to this.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:1.039 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site