diff options
author | Johannes Weiner <[email protected]> | 2014-09-05 08:43:57 -0400 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-09-05 08:19:02 -0700 |
commit | ce00a967377baadf2481521e131771adc7652856 (patch) | |
tree | df99fb2d2c1e2e0aa6873913decf53487e97391e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 10096fb1088e5c89b10772a1dfbe9682ecae5cea (diff) |
mm: memcontrol: revert use of root_mem_cgroup res_counter
Dave Hansen reports a massive scalability regression in an uncontained
page fault benchmark with more than 30 concurrent threads, which he
bisected down to 05b843012335 ("mm: memcontrol: use root_mem_cgroup
res_counter") and pin-pointed on res_counter spinlock contention.
That change relied on the per-cpu charge caches to mostly swallow the
res_counter costs, but it's apparent that the caches don't scale yet.
Revert memcg back to bypassing res_counters on the root level in order
to restore performance for uncontained workloads.
Reported-by: Dave Hansen <[email protected]>
Signed-off-by: Johannes Weiner <[email protected]>
Tested-by: Dave Hansen <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Vladimir Davydov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions