summaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2008-12-08 15:52:21 -0600
committerJames Morris <jmorris@namei.org>2008-12-09 09:25:53 +1100
commit94d6a5f7341ebaff53d4e41cc81fab37f0d9fbed (patch)
tree07b4a016a50f1cc42c6295ec387a26d1a4481381 /kernel/user.c
parent7657d90497f98426af17f0ac633a9b335bb7a8fb (diff)
downloadblackbird-op-linux-94d6a5f7341ebaff53d4e41cc81fab37f0d9fbed.tar.gz
blackbird-op-linux-94d6a5f7341ebaff53d4e41cc81fab37f0d9fbed.zip
user namespaces: document CFS behavior
Documented the currently bogus state of support for CFS user groups with user namespaces. In particular, all users in a user namespace should be children of the user which created the user namespace. This is yet to be implemented. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Acked-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/user.c')
-rw-r--r--kernel/user.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 6c924bc48c08..6608a3d8ca61 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -239,7 +239,13 @@ static struct kobj_type uids_ktype = {
.release = uids_release,
};
-/* create /sys/kernel/uids/<uid>/cpu_share file for this user */
+/*
+ * Create /sys/kernel/uids/<uid>/cpu_share file for this user
+ * We do not create this file for users in a user namespace (until
+ * sysfs tagging is implemented).
+ *
+ * See Documentation/scheduler/sched-design-CFS.txt for ramifications.
+ */
static int uids_user_create(struct user_struct *up)
{
struct kobject *kobj = &up->kobj;
OpenPOWER on IntegriCloud