]> err.no Git - linux-2.6/commit
mm: speed up writeback ramp-up on clean systems
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Nov 2007 00:59:15 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:38 +0000 (18:45 -0800)
commit5fce25a9df4865bdd5e3dc4853b269dc1677a02a
tree207fe2bf726bac89e402eb738b9548cfc7cae2f5
parent546040dc4872f807d40b69bed86605636082564c
mm: speed up writeback ramp-up on clean systems

We allow violation of bdi limits if there is a lot of room on the system.
Once we hit half the total limit we start enforcing bdi limits and bdi
ramp-up should happen.  Doing it this way avoids many small writeouts on an
otherwise idle system and should also speed up the ramp-up.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reviewed-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page-writeback.c