commit | 3e26c149c358529b1605f8959341d34bc4b880a3 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <[email protected]> | Tue Oct 16 23:25:50 2007 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Oct 17 08:42:45 2007 -0700 |
tree | 9d173b1753b86bcf03a8591e2509e3162234447c | |
parent | 04fbfdc14e5f48463820d6b9807daa5e9c92c51f [diff] |
mm: dirty balancing for tasks Based on ideas of Andrew: http://marc.info/?l=linux-kernel&m=102912915020543&w=2 Scale the bdi dirty limit inversly with the tasks dirty rate. This makes heavy writers have a lower dirty limit than the occasional writer. Andrea proposed something similar: http://lwn.net/Articles/152277/ The main disadvantage to his patch is that he uses an unrelated quantity to measure time, which leaves him with a workload dependant tunable. Other than that the two approaches appear quite similar. [[email protected]: fix warning] Signed-off-by: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>