Hi, this is the third revision of the per-zone dirty limits. Changes from the second version have been mostly documentation, changelog, and naming fixes based on review feedback:
o add new dirty_balance_reserve instead of abusing totalreserve_pages for undirtyable (per-zone) reserves and document the variable and its calculation (Mel) o use !ALLOC_WMARK_LOW instead of adding new ALLOC_SLOWPATH (Mel) o rename determine_dirtyable_memory -> global_dirtyable_memory (Andrew) o better explain behaviour on NUMA in changelog (Andrew) o extend changelogs and code comments on how per-zone dirty limits are calculated, and why, and their proportions to the global limit (Mel, Andrew) o kernel-doc zone_dirty_ok() (Andrew) o extend changelogs and code comments on how per-zone dirty limits are used to protect zones from dirty pages (Mel, Andrew) o revert back to a separate set of zone_dirtyable_memory() and zone_dirty_limit() for easier reading (Andrew) Based on v3.1-rc3-mmotm-2011-08-24-14-08. fs/btrfs/file.c | 2 +- include/linux/gfp.h | 4 +- include/linux/mmzone.h | 6 ++ include/linux/swap.h | 1 + include/linux/writeback.h | 1 + mm/filemap.c | 5 +- mm/page-writeback.c | 181 +++++++++++++++++++++++++++++++++------------ mm/page_alloc.c | 48 ++++++++++++ 8 files changed, 197 insertions(+), 51 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html