diff options
author | Lucas Karpinski <[email protected]> | 2023-08-04 15:35:29 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-08-21 13:07:21 -0700 |
commit | 60439471f30be00dc4f6648322ab1a3a3f89777f (patch) | |
tree | db1a44ba22fcc76d0fe545e23203fe626f0d4a5e /scripts/generate_rust_analyzer.py | |
parent | 49b0638502da097c15d46cd4e871dbaa022caf7c (diff) |
selftests: cgroup: fix test_kmem_basic less than error
test_kmem_basic creates 100,000 negative dentries, with each one mapping
to a slab object. After memory.high is set, these are reclaimed through
the shrink_slab function call which reclaims all 100,000 entries. The
test passes the majority of the time because when slab1 or current is
calculated, it is often above 0, however, 0 is also an acceptable value.
Link: https://lkml.kernel.org/r/7d6gcuyzdjcice6qbphrmpmv5skr5jtglg375unnjxqhstvhxc@qkn6dw6bao6v
Signed-off-by: Lucas Karpinski <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Zefan Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions