[lkml]   [2001]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] vmscan.c fixes
On Mon, 14 May 2001, Marcelo Tosatti wrote:
> On Mon, 14 May 2001, Rik van Riel wrote:
> > + /* XXX: dynamic free target is complicated and may be wrong... */
> > int freetarget = freepages.high + inactive_target / 3;
> I think its better if we just remove " + inactive_target / 3" here ---
> callers already account for the inactive_target when trying to
> calculate the free target anyway.

Right, there's really only one thing this "+ inactive_target / 3"
achieves ... more agressive flushing of dirty pages, by trying to
keep a larger free target.

Whether this is good or not I really don't know; this basically
boils down to the old "pre-flushing vs. delaying IO" thing.


Linux MM bugzilla:

Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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