Files
erofs-linux/mm
Johannes Weiner ce00a96737 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 05b8430123 ("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]>
2014-09-05 08:19:02 -07:00
..
…
2014-08-06 18:01:16 -07:00
…
…
2014-08-06 18:01:16 -07:00
2014-08-06 18:01:23 -07:00
…
2014-08-08 15:57:17 -07:00
…
…
…
…
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:17 -07:00
…
2014-08-29 16:28:16 -07:00
2014-08-29 16:28:16 -07:00