memcg: Fix test_memcg_min/low test failures
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest2 patches 2 repliesIn review 1 of 2 applied
- v72 patches 6 repliesSuperseded
- v62 patches 7 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 2 patches | 4 replies | Superseded | |
| v4 | 2 patches | 5 replies | Superseded | |
| v3 | 2 patches | 2 replies | Superseded |
Changes in v8 from the cover letter
- Ignore the low event count of child 2 with memory_recursiveprot on in patch 1 as originally suggested by Michal.
Patches in v8 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | selftests: memcg: Allow low event with no memory.low and memory_recursiveprot ontools/ | +14 | 1 reply | |
| 2/2 | selftests: memcg: Increase error tolerance of child memory.current check in test_memcg_protection()tools/ | +2 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Michal Koutný | Tejun Heo |
|---|---|---|
| Series | A-b | |
| 1/2 | A-b | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/2] memcg: Fix test_memcg_min/low test failures
v8:
- Ignore the low event count of child 2 with memory_recursiveprot on in patch 1 as originally suggested by Michal.
v7:
- Skip the vmscan change as the mem_cgroup_usage() check for now as it is currently redundant.
v6:
- The memcg_test_low failure is indeed due to the memory_recursiveprot mount option which is enabled by default in systemd cgroup v2 setting. So adopt Michal's suggestion to adjust the low event checking according to whether memory_recursiveprot is enabled or not.
The test_memcontrol selftest consistently fails its test_memcg_low sub-test (with memory_recursiveprot enabled) and sporadically fails its test_memcg_min sub-test. This patchset fixes the test_memcg_min and test_memcg_low failures by adjusting the test_memcontrol selftest to fix these test failures.
Waiman Long (2):
selftests: memcg: Allow low event with no memory.low and
memory_recursiveprot on
selftests: memcg: Increase error tolerance of child memory.current
check in test_memcg_protection()
.../selftests/cgroup/test_memcontrol.c | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-)
Signature · 1 line
2.49.0