[PATCH 0/5] IO-less dirty throttling v8

Wu Fengguang
2011-08-06T12:20:04Z

Hi all,

The _core_ bits of the IO-less balance_dirty_pages().
Heavily simplified and re-commented to make it easier to review.

git://git.kernel.org/pub/scm/linux/kernel/git/wfg/writeback.git dirty-throttling-v8

Only the bare minimal algorithms are presented, so you will find some rough
edges in the graphs below. But it's usable :)

http://www.kernel.org/pub/linux/kernel/people/wfg/writeback/dirty-throttling-v8/

And an introduction to the (more complete) algorithms:

http://www.kernel.org/pub/linux/kernel/people/wfg/writeback/slides/smooth-dirty-throttling.pdf

Questions and reviews are highly appreciated!

shortlog:

Wu Fengguang (5):
writeback: account per-bdi accumulated dirtied pages
writeback: dirty position control
writeback: dirty rate control
writeback: per task dirty rate limit
writeback: IO-less balance_dirty_pages()

The last 4 patches are one single logical change, but splitted here to
make it easier to review the different parts of the algorithm.

diffstat:

include/linux/backing-dev.h | 8 +
include/linux/sched.h | 7 +
include/trace/events/writeback.h | 24 --
mm/backing-dev.c | 3 +
mm/memory_hotplug.c | 3 -
mm/page-writeback.c | 459 ++++++++++++++++++++++----------------
6 files changed, 290 insertions(+), 214 deletions(-)

Thanks,
Fengguang