summaryrefslogtreecommitdiffstats
path: root/scripts/dtc
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2011-04-14 07:52:37 -0600
committerWu Fengguang <fengguang.wu@intel.com>2011-12-18 14:20:22 +0800
commitd3bc1fef9389e409a772ea174a5e41a6f93d9b7b (patch)
treed1e47354263b7c930a7ec4428909693d10a10c50 /scripts/dtc
parent54848d73f9f254631303d6eab9b976855988b266 (diff)
downloadop-kernel-dev-d3bc1fef9389e409a772ea174a5e41a6f93d9b7b.zip
op-kernel-dev-d3bc1fef9389e409a772ea174a5e41a6f93d9b7b.tar.gz
writeback: fix dirtied pages accounting on sub-page writes
When dd in 512bytes, generic_perform_write() calls balance_dirty_pages_ratelimited() 8 times for the same page, but obviously the page is only dirtied once. Fix it by accounting tsk->nr_dirtied and bdp_ratelimits at page dirty time. Acked-by: Jan Kara <jack@suse.cz> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud