The patch set updated all OOM testcases, and added a new testcase.
Inside old version, OOM only test MPOL_MBIND mempolicy in NUMA
system, and the combination of CPUSET, MEMCG & NUMA is complex,
and not clear. Also CPUSET is only used in NUMA system.
The patch set adjust them, now we can coverage the below tests:
1) OOM under normal - oom01
2) OOM under all mempolicy - oom02
3) OOM under MEMCG - oom03
4) OOM under CPUSET - oom04
5) OOM under CPUSET & MEMCG - oom05
I have tested the patch set, no any regressions found.
Zhouping Liu (5):
lib/mem: modified _gather_cpus() as _gather_node_cpus()
mm/oom02: modified 'OOM for NUMA' as 'OOM for mempolicy'
mm/oom0[3|4]: added 'OOM for CPUSET' and updated 'OOM with MEMCG &
numa'
lib/mem: updated testoom() and oom() funcs
mm/oom05: new testcase
runtest/mm | 1 +
testcases/kernel/mem/include/mem.h | 6 +-
testcases/kernel/mem/lib/mem.c | 101 ++++++++++++++++++-------
testcases/kernel/mem/oom/oom01.c | 6 +-
testcases/kernel/mem/oom/oom02.c | 20 +++--
testcases/kernel/mem/oom/oom03.c | 28 ++++++-
testcases/kernel/mem/oom/oom04.c | 63 +++++++---------
testcases/kernel/mem/oom/oom05.c | 151 +++++++++++++++++++++++++++++++++++++
8 files changed, 296 insertions(+), 80 deletions(-)
create mode 100644 testcases/kernel/mem/oom/oom05.c
--
1.7.11.7
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list