All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhouping Liu <zliu@redhat.com>
To: LTP List <ltp-list@lists.sourceforge.net>
Subject: [LTP] [PATCH 0/5] mm/oom: extend the coverage of OOM
Date: Fri, 15 Mar 2013 00:21:34 +0800	[thread overview]
Message-ID: <cover.1363246555.git.zliu@redhat.com> (raw)

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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2013-03-14 16:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14 16:21 Zhouping Liu [this message]
2013-03-14 16:21 ` [LTP] [PATCH 1/5] lib/mem: modified _gather_cpus() as _gather_node_cpus() Zhouping Liu
2013-03-14 16:45   ` chrubis
2013-03-14 16:21 ` [LTP] [PATCH 2/5] mm/oom02: modified 'OOM for NUMA' as 'OOM for mempolicy' Zhouping Liu
2013-03-15  3:09   ` Caspar Zhang
2013-03-15  3:57     ` Zhouping Liu
2013-03-15  4:33       ` Caspar Zhang
2013-03-14 16:21 ` [LTP] [PATCH 3/5] mm/oom0[3|4]: added 'OOM for CPUSET' and updated 'OOM with MEMCG & numa' Zhouping Liu
2013-03-14 16:51   ` chrubis
     [not found]     ` <507561236.18941341.1363282016883.JavaMail.root@redhat.com>
2013-03-14 18:32       ` chrubis
2013-03-14 16:21 ` [LTP] [PATCH 4/5] lib/mem: updated testoom() and oom() funcs Zhouping Liu
2013-03-14 16:21 ` [LTP] [PATCH 5/5] mm/oom05: new testcase Zhouping Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1363246555.git.zliu@redhat.com \
    --to=zliu@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.