lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dcache 2nd chance replacement


On Wed, 3 Jan 2001, Rik van Riel wrote:
>
> I rediffed this trivial patch by Andrea (that went
> into 2.2.19-pre5) which adds 2nd chance replacement
> to the dentry cache, this should make our dcache
> behave a little bit better than the current FIFO.

Looks ok, but I'd be happier if the

dentry->d_flags |= DCACHE_REFERENCED;
line would be inside the dcache lock (ie just move it up a line).

Linus

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

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.130 / U:0.652 seconds]
©2003-2011 Jasper Spaans. Advertise on this site