selftests: memcg: expect no low events in unprotected sibling
authorMichal Koutný <mkoutny@suse.com>
Wed, 18 May 2022 16:18:56 +0000 (18:18 +0200)
committerakpm <akpm@linux-foundation.org>
Fri, 27 May 2022 16:33:45 +0000 (09:33 -0700)
commit1d09069f5313f7c35655dc6d405896f748ddc53f
treeba2f2e7f79b018ffec0447bbf609d63f18d4ed23
parentff3b72a5d614702ec119f107bddd99cdad622b44
selftests: memcg: expect no low events in unprotected sibling

This is effectively a revert of commit cdc69458a5f3 ("cgroup: account for
memory_recursiveprot in test_memcg_low()").  The case test_memcg_low will
fail with memory_recursiveprot until resolved in reclaim code.

However, this patch preserves the existing helpers and variables for later
uses.

Link: https://lkml.kernel.org/r/20220518161859.21565-3-mkoutny@suse.com
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Reviewed-by: David Vernet <void@manifault.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Richard Palethorpe <rpalethorpe@suse.de>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: Shakeel Butt <shakeelb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/cgroup/test_memcontrol.c