[GIT PULL] cgroup changes for v4.2-rc1
From: Tejun Heo
Date: Fri Jun 26 2015 - 11:56:51 EST
Hello, Linus.
* threadgroup_lock got reorganized so that its users can pick the
actual locking mechanism to use. Its only user - cgroups - is
updated to use a percpu_rwsem instead of per-process rwsem. This
makes things a bit lighter on hot paths and allows cgroups to
perform and fail multi-task (a process) migrations atomically.
Multi-task migrations are used in several places including the
unified hierarchy.
* Delegation rule and documentation added to unified hierarchy. This
will likely be the last interface update from the cgroup core side
for unified hierarchy before lifting the devel mask.
* Some groundwork for the pids controller which is scheduled to be
merged in the coming devel cycle.
Thanks.
The following changes since commit 27cf3a16b2535a490f8cf1d29a6634f1c70f7831:
Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/audit (2015-04-22 14:49:23 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.2
for you to fetch changes up to 8a0792ef8e01f03cb43806c6a87738bde34df713:
cgroup: add delegation section to unified hierarchy documentation (2015-06-18 16:54:28 -0400)
----------------------------------------------------------------
Aleksa Sarai (4):
cgroup: switch to unsigned long for bitmasks
cgroup: use bitmask to filter for_each_subsys
cgroup: replace explicit ss_mask checking with for_each_subsys_which
cgroup: fix uninitialised iterator in for_each_subsys_which
Arnd Bergmann (1):
cgroup: add seq_file forward declaration for struct cftype
Chen Hanxiao (1):
cgroup: fix some comment typos
Tejun Heo (10):
cgroup: separate out include/linux/cgroup-defs.h
cgroup: reorganize include/linux/cgroup.h
sched, cgroup: reorganize threadgroup locking
sched, cgroup: replace signal_struct->group_rwsem with a global percpu_rwsem
cgroup: simplify threadgroup locking
MAINTAINERS: add a cgroup core co-maintainer
kernfs: make kernfs_get_inode() public
cgroup: separate out cgroup_procs_write_permission() from __cgroup_procs_write()
cgroup: require write perm on common ancestor when moving processes on the default hierarchy
cgroup: add delegation section to unified hierarchy documentation
Documentation/cgroups/unified-hierarchy.txt | 102 ++-
MAINTAINERS | 1 +
fs/kernfs/kernfs-internal.h | 1 -
include/linux/cgroup-defs.h | 501 +++++++++++++
include/linux/cgroup.h | 1051 ++++++++-------------------
include/linux/init_task.h | 8 -
include/linux/kernfs.h | 5 +
include/linux/sched.h | 65 +-
init/Kconfig | 1 +
kernel/cgroup.c | 273 +++----
kernel/fork.c | 4 -
11 files changed, 1050 insertions(+), 962 deletions(-)
create mode 100644 include/linux/cgroup-defs.h
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/