Re: [RFC PATCH] mm: balance_dirty_pages. reduce calls toglobal_page_state to reduce cache references

From: Miklos Szeredi
Date: Thu Aug 27 2009 - 05:22:22 EST

On Wed, 26 Aug 2009, Richard Kennedy wrote:
> The old behavior was to use NR_WRITEBACK_TEMP to clip the bdi
> thresholds.


> Should we continue to do this or just ignore NR_WRIEBACK_TEMP completely
> in balance_dirty_pages ?

I think we should. Using NR_WRIEBACK_TEMP for setting up per-bdi
thresholds should be OK. It limits the total number of writback pages
(including fuse ones) but doesn't prevent individual bdi's from
continuing writback at their own pace.

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