mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: Remove a bogus comment
@ 2010-05-10  3:24 Li Zefan
  2010-05-10  7:22 ` [tip:sched/core] sched: Remove a stale comment tip-bot for Li Zefan
  0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2010-05-10  3:24 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Peter Zijlstra, Dhaval Giani, LKML

This comment should have been removed together with uids_mutex
when removing user sched.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
 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);
-- 
1.6.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-10  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-10  3:24 [PATCH] sched: Remove a bogus comment Li Zefan
2010-05-10  7:22 ` [tip:sched/core] sched: Remove a stale comment tip-bot for Li Zefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome