[GIT PULL UPDATED] cgroup changes for v4.5-rc1

From: Tejun Heo
Date: Mon Jan 11 2016 - 23:34:26 EST


Hello, Linus.

cgroup changes for v4.5-rc1.

* cgroup v2 interface is now official. It's no longer hidden behind a
devel flag and can be mounted using the new cgroup2 fs type.
Unfortunately, cpu v2 interface hasn't made it yet due to the
discussion around in-process hierarchical resource distribution and
only memory and io controllers can be used on the v2 interface at
the moment.

* The existing documentation which has always been a bit of mess is
relocated under Documentation/cgroup-v1/.
Documentation/cgroup-v2.txt is added as the authoritative
documentation for the v2 interface.

* Some features are added through for-4.5-ancestor-test branch to
enable netfilter xt_cgroup match to use cgroup v2 paths. The actual
netfilter changes will be merged through the net tree which pulled
in the said branch.

* Various cleanups.

Thanks.

The following changes since commit 67cde9c4938945b9510730c64e68d2f1dd7bc0aa:

cgroup_pids: don't account for the root cgroup (2015-12-03 10:18:21 -0500)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.5

for you to fetch changes up to 6255c46fa03798cbd8addd98929aff7eef86ae02:

cgroup: rename cgroup documentations (2016-01-11 23:14:51 -0500)

----------------------------------------------------------------
Arnd Bergmann (1):
cpuset: Replace all instances of time_t with time64_t

Johannes Weiner (2):
cgroup: clean up the kernel configuration menu nomenclature
cgroup: put controller Kconfig options in meaningful order

Oleg Nesterov (1):
cgroup: kill cgrp_ss_priv[CGROUP_CANFORK_COUNT] and friends

Rami Rosen (2):
cgroup_pids: fix a typo.
cgroup: fix a typo.

Ross Zwisler (1):
cgroup: Fix uninitialized variable warning

Tejun Heo (10):
cgroup: replace __DEVEL__sane_behavior with cgroup2 fs type
cgroup: rename Documentation/cgroups/ to Documentation/cgroup-legacy/
cgroup: replace unified-hierarchy.txt with a proper cgroup v2 documentation
cgroup: record ancestor IDs and reimplement cgroup_is_descendant() using it
kernfs: implement kernfs_walk_and_get()
cgroup: implement cgroup_get_from_path() and expose cgroup_put()
Merge branch 'for-4.4-fixes' into for-4.5
Merge branch 'for-4.5-ancestor-test' of git://git.kernel.org/.../tj/cgroup into for-4.5
cgroup: demote subsystem init messages to KERN_DEBUG
cgroup: rename cgroup documentations

Yuan Sun (2):
Subject: cgroup: Fix incomplete dd command in blkio documentation
cgroup: Remove resource_counter.txt in Documentation/cgroup-legacy/00-INDEX.

Documentation/{cgroups => cgroup-v1}/00-INDEX | 2 -
.../{cgroups => cgroup-v1}/blkio-controller.txt | 82 +-
Documentation/{cgroups => cgroup-v1}/cgroups.txt | 0
Documentation/{cgroups => cgroup-v1}/cpuacct.txt | 0
Documentation/{cgroups => cgroup-v1}/cpusets.txt | 0
Documentation/{cgroups => cgroup-v1}/devices.txt | 0
.../{cgroups => cgroup-v1}/freezer-subsystem.txt | 0
Documentation/{cgroups => cgroup-v1}/hugetlb.txt | 0
.../{cgroups => cgroup-v1}/memcg_test.txt | 0
Documentation/{cgroups => cgroup-v1}/memory.txt | 0
Documentation/{cgroups => cgroup-v1}/net_cls.txt | 0
Documentation/{cgroups => cgroup-v1}/net_prio.txt | 0
Documentation/{cgroups => cgroup-v1}/pids.txt | 0
Documentation/cgroup-v2.txt | 1293 ++++++++++++++++++++
Documentation/cgroups/unified-hierarchy.txt | 647 ----------
fs/kernfs/dir.c | 46 +
include/linux/cgroup-defs.h | 27 +-
include/linux/cgroup.h | 44 +-
include/linux/cgroup_subsys.h | 18 -
include/linux/kernfs.h | 12 +
include/uapi/linux/magic.h | 1 +
init/Kconfig | 241 ++--
kernel/cgroup.c | 152 +--
kernel/cgroup_freezer.c | 2 +-
kernel/cgroup_pids.c | 6 +-
kernel/cpuset.c | 12 +-
kernel/fork.c | 7 +-
kernel/sched/core.c | 2 +-
mm/memcontrol.c | 2 +-
29 files changed, 1607 insertions(+), 989 deletions(-)
rename Documentation/{cgroups => cgroup-v1}/00-INDEX (95%)
rename Documentation/{cgroups => cgroup-v1}/blkio-controller.txt (80%)
rename Documentation/{cgroups => cgroup-v1}/cgroups.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/cpuacct.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/cpusets.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/devices.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/freezer-subsystem.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/hugetlb.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/memcg_test.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/memory.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/net_cls.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/net_prio.txt (100%)
rename Documentation/{cgroups => cgroup-v1}/pids.txt (100%)
create mode 100644 Documentation/cgroup-v2.txt
delete mode 100644 Documentation/cgroups/unified-hierarchy.txt

--
tejun