Skip to content

cgroup-v2/freezer: small improvements

Pavel Tikhomirov cgroups lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cgroup-v2/freezer: allow freezing with kthreadsinclude/linux/cgroup-defs.h kernel/cgroup/freezer.c+36 -61 reply
1/2cgroup-v2/freezer: Allow freezing with kthreadsinclude/linux/cgroup-defs.h kernel/cgroup/freezer.c+36 -60 replies
2/2cgroup-v2/freezer: Print information about unfreezable processkernel/cgroup/cgroup-internal.h kernel/cgroup/cgroup.c kernel/cgroup/freezer.c+125 -05 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] cgroup-v2/freezer: small improvements

This patch series contains two small improvements for cgroup-v2 freezer controller.

First allows freezing cgroups with kthreads inside, we still won't freeze kthreads, we still ignore them, but at the same time we allow cgroup to report frozen when all other non-kthread tasks are frozen.

Second patch adds information into dmesg to identify processes which prevent cgroup from being frozen or just don't allow it to freeze fast enough.

I hope these changes will be generally useful for the users of freezer cgroup controller.

Pavel Tikhomirov (2):
cgroup-v2/freezer: Allow freezing with kthreads cgroup-v2/freezer: Print information about unfreezable process

 include/linux/cgroup-defs.h     |   5 ++
 kernel/cgroup/cgroup-internal.h |   5 ++
 kernel/cgroup/cgroup.c          |   2 +
 kernel/cgroup/freezer.c         | 155 ++++++++++++++++++++++++++++++--
 4 files changed, 161 insertions(+), 6 deletions(-)
Signature · 1 line
2.52.0