lkml.org 
[lkml]   [2002]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.33-mm1
William Lee Irwin III wrote:
>
> ...
> > Calling kmem_cache_reap() after running the pruners will fix that up.
>
> # grep ext3_inode_cache /proc/slabinfo
> ext3_inode_cache 18917 87012 448 7686 9668 1
> ...
> ext3_inode_cache: 8098KB 38052KB 21.28
>
> Looks like a persistent gap from here.

OK, thanks. We need to reap those pages up-front rather than waiting
for them to come to the tail of the LRU.

What on earth is going on with kmem_cache_reap? Am I missing
something, or is that thing 700% overdesigned? Why not just
free the darn pages in kmem_cache_free_one()? Maybe hang onto
a few pages for cache warmth, but heck.
-
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:28    [W:0.116 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site