Skip to content

cgroup: Iterate tasks that did not finish do_exit()

Michal Koutný cgroups linux-arm-kernel linux-kselftest linux-mediatek lkml 2 versions – Applied

Status from this message: Applied to cgroup/for-5.6-fixes.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- v1: https://lore.kernel.org/lkml/[email protected]/
- Swap the fixing and refactoring patch (in order to make the fix easier for backport)
- Don't introduce tasks lists array because of unnecessarily long access code
- Fix comment in selftest
- I leave the CC:stable on discretion of the maintainer

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3cgroup: Iterate tasks that did not finish do_exit()include/linux/cgroup.h kernel/cgroup/cgroup.c+17 -73 replies
2/3cgroup: Clean up css_set task traversalinclude/linux/cgroup.h kernel/cgroup/cgroup.c+28 -360 replies
3/3kselftest/cgroup: add cgroup destruction testtools/testing/selftests/cgroup/test_core.c+113 -01 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichal KoutnýSuren Baghdasaryan
1/3T-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] cgroup: Iterate tasks that did not finish do_exit()

Hi,
thanks for your feedback. I'm sending updated solution that changes task iteration to be consistent with cgroup_is_populated() check and moving the responsibility to check PF_EXITING on the consumers of iterator API.

Changes from v1
- v1: https://lore.kernel.org/lkml/[email protected]/
- Swap the fixing and refactoring patch (in order to make the fix easier for backport)
- Don't introduce tasks lists array because of unnecessarily long access code
- Fix comment in selftest
- I leave the CC:stable on discretion of the maintainer

Michal Koutný (2):
cgroup: Iterate tasks that did not finish do_exit()
cgroup: Clean up css_set task traversal

Suren Baghdasaryan (1):
kselftest/cgroup: add cgroup destruction test

 include/linux/cgroup.h                     |   4 +-
 kernel/cgroup/cgroup.c                     |  60 ++++++-----
 tools/testing/selftests/cgroup/test_core.c | 113 +++++++++++++++++++++
 3 files changed, 146 insertions(+), 31 deletions(-)
Signature · 7 lines
2.24.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel