diff options
Diffstat (limited to 'kernel/user.c')
-rw-r--r-- | kernel/user.c | 8 |
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 = { | |||
239 | .release = uids_release, | 239 | .release = uids_release, |
240 | }; | 240 | }; |
241 | 241 | ||
242 | /* create /sys/kernel/uids/<uid>/cpu_share file for this user */ | 242 | /* |
243 | * Create /sys/kernel/uids/<uid>/cpu_share file for this user | ||
244 | * We do not create this file for users in a user namespace (until | ||
245 | * sysfs tagging is implemented). | ||
246 | * | ||
247 | * See Documentation/scheduler/sched-design-CFS.txt for ramifications. | ||
248 | */ | ||
243 | static int uids_user_create(struct user_struct *up) | 249 | static int uids_user_create(struct user_struct *up) |
244 | { | 250 | { |
245 | struct kobject *kobj = &up->kobj; | 251 | struct kobject *kobj = &up->kobj; |