Re: [PATCH 1/4] mm: workingset: don't drop refault information prematurely fix

Rik van Riel
2018-10-10T00:55:36Z

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

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 <hannes@cmpxchg.org>

Reviewed-by: Rik van Riel <riel@surriel.com>

--
All Rights Reversed.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]