* [folded] cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix2.patch removed from -mm tree
@ 2009-06-17 22:46 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-06-17 22:46 UTC (permalink / raw)
To: lizf, balbir, dhaval, kamezawa.hiroyu, menage, mm-commits
The patch titled
cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix-2
has been removed from the -mm tree. Its filename was
cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix2.patch
This patch was dropped because it was folded into cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem.patch
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix-2
From: Li Zefan <lizf@cn.fujitsu.com>
Explain more on the noprefix option.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/cgroup.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff -puN kernel/cgroup.c~cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix2 kernel/cgroup.c
--- a/kernel/cgroup.c~cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix2
+++ a/kernel/cgroup.c
@@ -891,7 +891,11 @@ static int parse_cgroupfs_options(char *
}
}
- /* We allow noprefix only if mounting just the cpuset subsystem */
+ /*
+ * Option noprefix was introduced just for backward compatibility
+ * with the old cpuset, so we allow noprefix only if mounting just
+ * the cpuset subsystem.
+ */
if (test_bit(ROOT_NOPREFIX, &opts->flags) &&
(opts->subsys_bits & mask))
return -EINVAL;
_
Patches currently in -mm which might be from lizf@cn.fujitsu.com are
origin.patch
cgroups-make-messages-more-readable.patch
cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem.patch
cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix2.patch
devcgroup-skip-superfluous-checks-when-found-the-dev_all-elem.patch
memcg-remove-some-redundant-checks.patch
memcg-remove-unneeded-forward-declaration-from-schedh.patch
memcg-fix-swap-accounting.patch
memcg-fix-swap-accounting-update.patch
memcg-fix-behavior-under-memorylimit-equals-to-memswlimit.patch
memcg-add-interface-to-reset-limits.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-17 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 22:46 [folded] cgroups-forbid-noprefix-if-mounting-more-than-just-cpuset-subsystem-fix2.patch removed from -mm tree akpm
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.