cgroup fixes for v3.14-rc3
Subsystems (9)
Tejun Heo
maintainerHello, Linus.
Quite a few fixes this time. Three locking fixes, all marked for -stable. A couple error path fixes and some misc fixes. Hugh found a bug in memcg offlining sequence and we thought we could fix that from cgroup core side but that turned out to be insufficient and got reverted. A different fix has been applied to -mm.
The following changes since commit 38dbfb59d1175ef458d006556061adeaa8751b72:
Linus 3.14-rc1 (2014-02-02 16:42:13 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-3.14-fixes
for you to fetch changes up to 532de3fc72adc2a6525c4d53c07bf81e1732083d:
cgroup: update cgroup_enable_task_cg_lists() to grab siglock (2014-02-18 18:23:18 -0500)
Thanks.
----------------------------------------------------------------
Hugh Dickins (1):
cgroup: use an ordered workqueue for cgroup destruction
Li Zefan (2):
cpuset: update MAINTAINERS entry
cgroup: protect modifications to cgroup_idr with cgroup_mutex
Tejun Heo (7):
arm, pm, vmpressure: add missing slab.h includes
nfs: include xattr.h from fs/nfs/nfs3proc.c
cgroup: fix error return value in cgroup_mount()
cgroup: fix error return from cgroup_create()
cgroup: fix locking in cgroup_cfts_commit()
Revert "cgroup: use an ordered workqueue for cgroup destruction"
cgroup: update cgroup_enable_task_cg_lists() to grab siglock
MAINTAINERS | 2 ++ arch/arm/mach-tegra/pm.c | 1 + fs/nfs/nfs3proc.c | 1 + include/linux/cgroup.h | 2 ++ kernel/cgroup.c | 60 ++++++++++++++++++++++++++---------------------- kernel/power/console.c | 1 + mm/vmpressure.c | 1 + 7 files changed, 40 insertions(+), 28 deletions(-)
MAINTAINERS +2 -0
@@ -2408,8 +2408,10 @@ F: tools/power/cpupower/ CPUSETS M: Li Zefan <[email protected]> +L: [email protected] W: http://www.bullopensource.org/cpuset/ W: http://oss.sgi.com/projects/cpusets/ +T: git git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git S: Maintained F: Documentation/cgroups/cpusets.txt F: include/linux/cpuset.h
arch/arm/mach-tegra/pm.c +1 -0
@@ -24,6 +24,7 @@#include <linux/cpu_pm.h> #include <linux/suspend.h> #include <linux/err.h> +#include <linux/slab.h> #include <linux/clk/tegra.h> #include <asm/smp_plat.h>
fs/nfs/nfs3proc.c +1 -0
@@ -18,6 +18,7 @@#include <linux/lockd/bind.h> #include <linux/nfs_mount.h> #include <linux/freezer.h> +#include <linux/xattr.h> #include "iostat.h" #include "internal.h"
include/linux/cgroup.h +2 -0
@@ -166,6 +166,8 @@ struct cgroup {* * The ID of the root cgroup is always 0, and a new cgroup * will be assigned with a smallest available ID. +* +* Allocating/Removing ID must be protected by cgroup_mutex. */ int id;
kernel/cgroup.c +32 -28
143 lines not on this page · raw message
kernel/power/console.c +1 -0
@@ -9,6 +9,7 @@#include <linux/kbd_kern.h> #include <linux/vt.h> #include <linux/module.h> +#include <linux/slab.h> #include "power.h" #define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
mm/vmpressure.c +1 -0
@@ -19,6 +19,7 @@#include <linux/mm.h> #include <linux/vmstat.h> #include <linux/eventfd.h> +#include <linux/slab.h> #include <linux/swap.h> #include <linux/printk.h> #include <linux/vmpressure.h>