lkml.org 
[lkml]   [1998]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: page aging for _BUFFER_ cache?
Linus Torvalds wrote:

> Yes. Essentially, we shouldn't cache meta-data more aggressively, but we
> should be _extremely_ aggressive at throwing out pages that we used for
> data writes..
>
> I don't think we really want buffer aging, I think we need to just have
> some way of getting rid of data buffers..

Perhaps it would help to clear the touched bit for a buffer after updating the
page cache following a write? Assuming that the b_count of a data buffer goes to
0 quickly following the write, clearing the touched bit would make the page seem
unreferenced the next time shrink_mmap looked at it, and it would then be
reclaimed.

Regards,
Bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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