aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWu Fengguang <[email protected]>2011-04-14 07:52:37 -0600
committerWu Fengguang <[email protected]>2011-12-18 14:20:22 +0800
commitd3bc1fef9389e409a772ea174a5e41a6f93d9b7b (patch)
treed1e47354263b7c930a7ec4428909693d10a10c50 /tools/perf/util/scripting-engines/trace-event-python.c
parent54848d73f9f254631303d6eab9b976855988b266 (diff)
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 <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Signed-off-by: Wu Fengguang <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions