Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1396574

[PATCH -tip] sched/wake_q: fix typo in wake_q_add

From Davidlohr Bueso <dave@stgolabs.net>
Newsgroups linux.kernel
Subject [PATCH -tip] sched/wake_q: fix typo in wake_q_add
Date 2016-05-09 06:10 +0200
Message-ID <rwKG6-4Ch-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


... 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH -tip] sched/wake_q: fix typo in wake_q_add Davidlohr Bueso <dave@stgolabs.net> - 2016-05-09 06:10 +0200
  [tip:sched/core] sched/core: Fix comment typo in wake_q_add() tip-bot for Davidlohr Bueso <tipbot@zytor.com> - 2016-05-09 08:50 +0200

csiph-web