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

* [tip:sched/core] sched: Remove a stale comment
  2010-05-10  3:24 [PATCH] sched: Remove a bogus comment Li Zefan
@ 2010-05-10  7:22 ` tip-bot for Li Zefan
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Li Zefan @ 2010-05-10  7:22 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, dhaval.giani, hpa, mingo, lizf, peterz, tglx, mingo

Commit-ID:  af507ae8a0512a83728b17d8f8c5fa1561669f50
Gitweb:     http://git.kernel.org/tip/af507ae8a0512a83728b17d8f8c5fa1561669f50
Author:     Li Zefan <lizf@cn.fujitsu.com>
AuthorDate: Mon, 10 May 2010 11:24:27 +0800
Committer:  Ingo Molnar <mingo@elte.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@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Dhaval Giani <dhaval.giani@gmail.com>
LKML-Reference: <4BE77C6B.5010402@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.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);

^ 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