aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
authorPaul Menage <menage@google.com>2007-10-19 02:39:39 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 14:53:36 -0400
commit8793d854edbc2774943a4b0de3304dc73991159a (patch)
tree380b3403a0fedfcce61d9af5af1ffbcc71017abf /fs/proc/base.c
parent81a6a5cdd2c5cd70874b88afe524ab09e9e869af (diff)
Task Control Groups: make cpusets a client of cgroups
Remove the filesystem support logic from the cpusets system and makes cpusets a cgroup subsystem The "cpuset" filesystem becomes a dummy filesystem; attempts to mount it get passed through to the cgroup filesystem with the appropriate options to emulate the old cpuset filesystem behaviour. Signed-off-by: Paul Menage <menage@google.com> Cc: Serge E. Hallyn <serue@us.ibm.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Dave Hansen <haveblue@us.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Paul Jackson <pj@sgi.com> Cc: Kirill Korotaev <dev@openvz.org> Cc: Herbert Poetzl <herbert@13thfloor.at> Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com> Cc: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 0e9a9aa9df64..fbff900fd5ad 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -2131,7 +2131,7 @@ static const struct pid_entry tgid_base_stuff[] = {
2131#ifdef CONFIG_SCHEDSTATS 2131#ifdef CONFIG_SCHEDSTATS
2132 INF("schedstat", S_IRUGO, pid_schedstat), 2132 INF("schedstat", S_IRUGO, pid_schedstat),
2133#endif 2133#endif
2134#ifdef CONFIG_CPUSETS 2134#ifdef CONFIG_PROC_PID_CPUSET
2135 REG("cpuset", S_IRUGO, cpuset), 2135 REG("cpuset", S_IRUGO, cpuset),
2136#endif 2136#endif
2137#ifdef CONFIG_CGROUPS 2137#ifdef CONFIG_CGROUPS
@@ -2420,7 +2420,7 @@ static const struct pid_entry tid_base_stuff[] = {
2420#ifdef CONFIG_SCHEDSTATS 2420#ifdef CONFIG_SCHEDSTATS
2421 INF("schedstat", S_IRUGO, pid_schedstat), 2421 INF("schedstat", S_IRUGO, pid_schedstat),
2422#endif 2422#endif
2423#ifdef CONFIG_CPUSETS 2423#ifdef CONFIG_PROC_PID_CPUSET
2424 REG("cpuset", S_IRUGO, cpuset), 2424 REG("cpuset", S_IRUGO, cpuset),
2425#endif 2425#endif
2426#ifdef CONFIG_CGROUPS 2426#ifdef CONFIG_CGROUPS