Skip to content

per-zone dirty limits v3

Johannes Weiner linux-btrfs linux-ext4 linux-fsdevel linux-mm linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm: exclude reserved pages from dirtyable memoryinclude/linux/mmzone.h include/linux/swap.h mm/page-writeback.c +1 more+30 -23 replies
2/5mm: writeback: cleanups in preparation for per-zone dirty limitsmm/page-writeback.c+46 -461 reply
3/5mm: try to distribute dirty pages fairly across zonesinclude/linux/gfp.h include/linux/writeback.h mm/page-writeback.c +1 more+116 -18 replies
4/5mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin()mm/filemap.c+4 -11 reply
5/5Btrfs: pass __GFP_WRITE for buffered write page allocationsfs/btrfs/file.c+1 -11 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchRik van RielMinchan KimMel GormanMichal HockoWu Fengguang
1/5R-b R-b A-b R-b
2/5R-b A-b R-b
3/5R-b A-b R-b T-b
4/5R-b R-b A-b R-b
5/5R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [patch 0/5] per-zone dirty limits v3

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, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>