On Tue, 2018-10-09 at 14:47 -0400, Johannes Weiner wrote: > The shadow shrinker is invoked per NUMA node, but the shadow limit > enforced for cgroups is based on the page counter, which isn't NUMA > aware. Instead of shrinking shadow pages to desired_size, we end up > with desired_size * nr_online_nodes. > > Switch to NUMA-aware lru and slab counters to approximate cgroup > size. > > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel -- All Rights Reversed.