diff options
| author | Haifeng Xu <[email protected]> | 2023-05-22 09:52:33 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-09 16:25:39 -0700 |
| commit | 19ab365762c6cc39dfdee9e13ab0d12fe4b5540d (patch) | |
| tree | 5d5a1e9fabcebd7d14ec8fdd6e9e6053e7ab9cfc /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 08e0f49e9991b175f2cda7ba32a7e9f1320dcbad (diff) | |
selftests: cgroup: fix unexpected failure on test_memcg_low
Since commit f079a020ba95 ("selftests: memcg: factor out common parts of
memory.{low,min} tests"), the value used in second alloc_anon has changed
from 148M to 170M. Because memory.low allows reclaiming page cache in
child cgroups, so the memory.current is close to 30M instead of 50M.
Therefore, adjust the expected value of parent cgroup.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: f079a020ba95 ("selftests: memcg: factor out common parts of memory.{low,min} tests")
Signed-off-by: Haifeng Xu <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions