Messages in this thread Patch in this message | | | Date | Wed, 30 Oct 2019 10:03:59 -0000 | From | "tip-bot2 for Davidlohr Bueso" <> | Subject | [tip: locking/core] futex: Drop leftover wake_q_add() comment |
| |
The following commit has been merged into the locking/core branch of tip:
Commit-ID: 751459043cc87c3f0098034b15ca5252d12539ab Gitweb: https://git.kernel.org/tip/751459043cc87c3f0098034b15ca5252d12539ab Author: Davidlohr Bueso <dave@stgolabs.net> AuthorDate: Tue, 22 Oct 2019 20:34:50 -07:00 Committer: Ingo Molnar <mingo@kernel.org> CommitterDate: Tue, 29 Oct 2019 12:22:52 +01:00
futex: Drop leftover wake_q_add() comment
Since the original comment, we have moved to do the task reference counting explicitly along with wake_q_add_safe(). Drop the now incorrect comment.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: dave@stgolabs.net Link: https://lkml.kernel.org/r/20191023033450.6445-1-dave@stgolabs.net Signed-off-by: Ingo Molnar <mingo@kernel.org> --- kernel/futex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/futex.c b/kernel/futex.c index bd18f60..43229f8 100644 --- a/kernel/futex.c +++ b/kernel/futex.c @@ -1480,7 +1480,7 @@ static void mark_wake_futex(struct wake_q_head *wake_q, struct futex_q *q) /* * Queue the task for later wakeup for after we've released - * the hb->lock. wake_q_add() grabs reference to p. + * the hb->lock. */ wake_q_add_safe(wake_q, p); }
| |