]> git.baikalelectronics.ru Git - kernel.git/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)
commita8ca28ef5bed367f2c67f6d0a410f406c96cc449
tree207fe2bf726bac89e402eb738b9548cfc7cae2f5
parente103bd8fad77e85f6f6d04d54ab30dc5dce9cbb4
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