[LTP] [PATCH v2 0/2] OOM protection for shell tests
Andrea Cervesato <[email protected]> Thu, 30 Jul 2026 15:05:22 +0200
| Newsgroups | it.linux.lists.ltp |
|---|---|
| Message-ID | <[email protected]> |
Under Li's idea, implement a OOM protection mechanism for the shell tests so we can avoid OOM for memcg stress tests. Signed-off-by: Andrea Cervesato <[email protected]> --- Changes in v2: - update shell OOM protection functional test - Link to v1: https://lore.kernel.org/[email protected] --- Andrea Cervesato (2): shell: add optional OOM protection memcg_stress: survive OOM by targeting the stressors doc/developers/writing_tests.rst | 3 ++ .../controllers/memcg/stress/memcg_stress_test.sh | 1 + testcases/lib/tests/shell_oom_protection.sh | 42 ++++++++++++++++ testcases/lib/tst_test.sh | 57 +++++++++++++++++++++- 4 files changed, 102 insertions(+), 1 deletion(-) --- base-commit: 4918812af24a0e06fa3a9ba6da2679cfea1f2126 change-id: 20260713-shell_oom_protection-6221ab825220 Best regards, -- Andrea Cervesato <[email protected]> -- Mailing list info: https://lists.linux.it/listinfo/ltp