summaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorArun R Bharadwaj <arun@linux.vnet.ibm.com>2008-12-01 16:19:05 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-01 20:39:50 +0100
commit6c415b9234a8c71f290e5d4fddc467f103f32719 (patch)
treed7ba28aab68b5b38952ccc6256b7ecb701b23ed5 /kernel/user.c
parentsched: move double_unlock_balance() higher (diff)
downloadlinux-6c415b9234a8c71f290e5d4fddc467f103f32719.tar.xz
linux-6c415b9234a8c71f290e5d4fddc467f103f32719.zip
sched: add uid information to sched_debug for CONFIG_USER_SCHED
Impact: extend information in /proc/sched_debug This patch adds uid information in sched_debug for CONFIG_USER_SCHED Signed-off-by: Arun R Bharadwaj <arun@linux.vnet.ibm.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/user.c')
-rw-r--r--kernel/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 39d6159fae43..cec2224bc9f5 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -101,6 +101,8 @@ static int sched_create_user(struct user_struct *up)
if (IS_ERR(up->tg))
rc = -ENOMEM;
+ set_tg_uid(up);
+
return rc;
}