From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Li Zefan <lizefan@huawei.com>,
Johannes Weiner <hannes@cmpxchg.org>,
cgroups@vger.kernel.org, Roman Gushchin <guro@fb.com>,
Oleg Nesterov <oleg@redhat.com>
Subject: [GIT PULL] cgroup changes for v5.2-rc1
Date: Thu, 9 May 2019 10:36:42 -0700 [thread overview]
Message-ID: <20190509173642.GA374014@devbig004.ftw2.facebook.com> (raw)
Hello, Linus.
This pull request includes Roman's cgroup2 freezer implementation.
It's a separate machanism from cgroup1 freezer. Instead of blocking
user tasks in arbitrary uninterruptible sleeps, the new implementation
extends jobctl stop - frozen tasks are trapped in jobctl stop until
thawed and can be killed and ptraced. Lots of thanks to Oleg for
sheperding the effort.
Other than that, there are a few trivial changes.
Thanks.
The following changes since commit 145f47c7381d43c789cbad55d4dbfd28fc6c46a4:
Merge tag '5.1-rc3-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 (2019-04-03 20:21:25 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.2
for you to fetch changes up to f2b31bb598248c04721cb8485e6091a9feb045ac:
cgroup: never call do_group_exit() with task->frozen bit set (2019-05-09 07:56:47 -0700)
----------------------------------------------------------------
Fuqian Huang (1):
kernel: cgroup: fix misuse of %x
Roman Gushchin (12):
cgroup: rename freezer.c into legacy_freezer.c
cgroup: implement __cgroup_task_count() helper
cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
cgroup: cgroup v2 freezer
kselftests: cgroup: don't fail on cg_kill_all() error in cg_destroy()
kselftests: cgroup: add freezer controller self-tests
cgroup: make TRACE_CGROUP_PATH irq-safe
cgroup: add tracing points for cgroup v2 freezer
cgroup: document cgroup v2 freezer interface
cgroup: prevent spurious transition into non-frozen state
cgroup: get rid of cgroup_freezer_frozen_exit()
cgroup: never call do_group_exit() with task->frozen bit set
Shakeel Butt (1):
cgroup: remove extra cgroup_migrate_finish() call
Shaokun Zhang (1):
cgroup: Remove unused cgrp variable
Documentation/admin-guide/cgroup-v2.rst | 27 +
include/linux/cgroup-defs.h | 33 +
include/linux/cgroup.h | 43 ++
include/linux/sched.h | 2 +
include/linux/sched/jobctl.h | 2 +
include/trace/events/cgroup.h | 55 ++
kernel/cgroup/Makefile | 4 +-
kernel/cgroup/cgroup-internal.h | 8 +-
kernel/cgroup/cgroup-v1.c | 16 -
kernel/cgroup/cgroup.c | 152 ++++-
kernel/cgroup/debug.c | 8 +-
kernel/cgroup/freezer.c | 639 +++++++------------
kernel/cgroup/legacy_freezer.c | 481 +++++++++++++++
kernel/fork.c | 2 +
kernel/signal.c | 66 +-
tools/testing/selftests/cgroup/.gitignore | 1 +
tools/testing/selftests/cgroup/Makefile | 2 +
tools/testing/selftests/cgroup/cgroup_util.c | 58 +-
tools/testing/selftests/cgroup/cgroup_util.h | 5 +
tools/testing/selftests/cgroup/test_freezer.c | 851 ++++++++++++++++++++++++++
20 files changed, 2012 insertions(+), 443 deletions(-)
create mode 100644 kernel/cgroup/legacy_freezer.c
create mode 100644 tools/testing/selftests/cgroup/test_freezer.c
--
tejun
next reply other threads:[~2019-05-09 17:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-09 17:36 Tejun Heo [this message]
2019-05-09 21:35 ` [GIT PULL] cgroup changes for v5.2-rc1 pr-tracker-bot
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=20190509173642.GA374014@devbig004.ftw2.facebook.com \
--to=tj@kernel.org \
--cc=cgroups@vger.kernel.org \
--cc=guro@fb.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=oleg@redhat.com \
--cc=torvalds@linux-foundation.org \
/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.