[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-af507ae8a0512a83728b17d8f8c5fa1561669f50@git.kernel.org>
Date: Mon, 10 May 2010 07:22:07 GMT
From: tip-bot for Li Zefan <lizf@...fujitsu.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, dhaval.giani@...il.com,
hpa@...or.com, mingo@...hat.com, lizf@...fujitsu.com,
peterz@...radead.org, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:sched/core] sched: Remove a stale comment
Commit-ID: af507ae8a0512a83728b17d8f8c5fa1561669f50
Gitweb: http://git.kernel.org/tip/af507ae8a0512a83728b17d8f8c5fa1561669f50
Author: Li Zefan <lizf@...fujitsu.com>
AuthorDate: Mon, 10 May 2010 11:24:27 +0800
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Mon, 10 May 2010 08:48:39 +0200
sched: Remove a stale comment
This comment should have been removed together with uids_mutex
when removing user sched.
Signed-off-by: Li Zefan <lizf@...fujitsu.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Dhaval Giani <dhaval.giani@...il.com>
LKML-Reference: <4BE77C6B.5010402@...fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/user.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/user.c b/kernel/user.c
index 8e1c8c0..7e72614 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -136,7 +136,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
struct hlist_head *hashent = uidhashentry(ns, uid);
struct user_struct *up, *new;
- /* Make uid_hash_find() + uid_hash_insert() atomic. */
spin_lock_irq(&uidhash_lock);
up = uid_hash_find(uid, hashent);
spin_unlock_irq(&uidhash_lock);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists