mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -tip] sched/wake_q: fix typo in wake_q_add
@ 2016-05-09  3:58 Davidlohr Bueso
  2016-05-09  6:43 ` [tip:sched/core] sched/core: Fix comment typo in wake_q_add() tip-bot for Davidlohr Bueso
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2016-05-09  3:58 UTC (permalink / raw)
  To: mingo; +Cc: peterz, dave, linux-kernel, Davidlohr Bueso

... the comment clearly refers to wake_up_q, and not
wake_up_list.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c82ca6eccfec..c59e4df38591 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -400,7 +400,7 @@ void wake_q_add(struct wake_q_head *head, struct task_struct *task)
 	 * wakeup due to that.
 	 *
 	 * This cmpxchg() implies a full barrier, which pairs with the write
-	 * barrier implied by the wakeup in wake_up_list().
+	 * barrier implied by the wakeup in wake_up_q().
 	 */
 	if (cmpxchg(&node->next, NULL, WAKE_Q_TAIL))
 		return;
-- 
2.8.1

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

* [tip:sched/core] sched/core: Fix comment typo in wake_q_add()
  2016-05-09  3:58 [PATCH -tip] sched/wake_q: fix typo in wake_q_add Davidlohr Bueso
@ 2016-05-09  6:43 ` tip-bot for Davidlohr Bueso
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Davidlohr Bueso @ 2016-05-09  6:43 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: hpa, dave, torvalds, dbueso, peterz, linux-kernel, mingo, tglx

Commit-ID:  58fe9c4621b7219e724c0b7af053112f974a08c3
Gitweb:     http://git.kernel.org/tip/58fe9c4621b7219e724c0b7af053112f974a08c3
Author:     Davidlohr Bueso <dave@stgolabs.net>
AuthorDate: Sun, 8 May 2016 20:58:10 -0700
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 9 May 2016 08:39:52 +0200

sched/core: Fix comment typo in wake_q_add()

... the comment clearly refers to wake_up_q(), and not
wake_up_list().

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dave@stgolabs.net
Link: http://lkml.kernel.org/r/1462766290-28664-1-git-send-email-dave@stgolabs.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index a6d3e7a..e09f92c 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -465,7 +465,7 @@ void wake_q_add(struct wake_q_head *head, struct task_struct *task)
 	 * wakeup due to that.
 	 *
 	 * This cmpxchg() implies a full barrier, which pairs with the write
-	 * barrier implied by the wakeup in wake_up_list().
+	 * barrier implied by the wakeup in wake_up_q().
 	 */
 	if (cmpxchg(&node->next, NULL, WAKE_Q_TAIL))
 		return;

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

end of thread, other threads:[~2016-05-09  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-09  3:58 [PATCH -tip] sched/wake_q: fix typo in wake_q_add Davidlohr Bueso
2016-05-09  6:43 ` [tip:sched/core] sched/core: Fix comment typo in wake_q_add() tip-bot for Davidlohr Bueso

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

all inboxes | Powered by JetHome®