Skip to content

memcontrol04 and s/cgroup/cg/

Richard Palethorpe via ltp ltp 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 15 repliesSuperseded

Changes in v2 from the cover letter

* Add more debugging info to the test output

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3API/cgroup: Add memory.{events, low}lib/tst_cgroup.c+2 -00 replies
2/3API/cgroup: Shorten cgroup to cg in most symbolsdoc/c-test-api.txt include/tst_cgroup.h include/tst_test.h +20 more+329 -3290 replies
3/3memcontrol04: Copy from kselftestruntest/controllers testcases/kernel/controllers/memcg/.gitignore testcases/kernel/controllers/memcg/memcontrol04.c+245 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/3] memcontrol04 and s/cgroup/cg/

Hello,

This adds another test from kselftest and tries to improve the readability of the cgroup API.

This is probably the last test I will copy for now. However I may rewrite the tests to clone child processes into a CGroup when the feature is available.

V2:
* Add more debugging info to the test output

Richard Palethorpe (3):
API/cgroup: Add memory.{events, low} API/cgroup: Shorten cgroup to cg in most symbols
memcontrol04: Copy from kselftest

 doc/c-test-api.txt                            |  52 ++--
 include/tst_cgroup.h                          | 112 ++++----
 include/tst_test.h                            |   2 +-
 lib/newlib_tests/tst_cgroup01.c               |  18 +-
 lib/newlib_tests/tst_cgroup02.c               |  54 ++--
 lib/tst_cgroup.c                              | 112 ++++----
 lib/tst_test.c                                |   8 +-
 runtest/controllers                           |   1 +
 scripts/coccinelle/cgroup-ver.cocci           |  16 +-
 .../coccinelle/kselftest-cgroup-to-ltp.cocci  |  16 +-
 testcases/kernel/controllers/memcg/.gitignore |   1 +
 .../kernel/controllers/memcg/memcontrol01.c   |  36 +--
 .../kernel/controllers/memcg/memcontrol02.c   |  28 +-
 .../kernel/controllers/memcg/memcontrol03.c   |  60 ++---
 .../kernel/controllers/memcg/memcontrol04.c   | 243 ++++++++++++++++++
 testcases/kernel/mem/cpuset/cpuset01.c        |  14 +-
 testcases/kernel/mem/include/mem.h            |   2 +-
 testcases/kernel/mem/ksm/ksm02.c              |   6 +-
 testcases/kernel/mem/ksm/ksm03.c              |   4 +-
 testcases/kernel/mem/ksm/ksm04.c              |   6 +-
 testcases/kernel/mem/lib/mem.c                |   8 +-
 testcases/kernel/mem/oom/oom03.c              |  18 +-
 testcases/kernel/mem/oom/oom04.c              |   8 +-
 testcases/kernel/mem/oom/oom05.c              |  24 +-
 .../sched/cfs-scheduler/cfs_bandwidth01.c     |  40 +--
 testcases/kernel/syscalls/madvise/madvise06.c |  16 +-
 26 files changed, 576 insertions(+), 329 deletions(-)
 create mode 100644 testcases/kernel/controllers/memcg/memcontrol04.c
Signature · 5 lines
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp