mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] futex: Fix outdated comment in struct restart_block
@ 2025-04-28 19:34 Nam Cao
  2025-05-08 18:36 ` [tip: locking/futex] " tip-bot2 for Nam Cao
  0 siblings, 1 reply; 2+ messages in thread
From: Nam Cao @ 2025-04-28 19:34 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Peter Zijlstra, Darren Hart,
	Davidlohr Bueso, André Almeida, linux-kernel
  Cc: Nam Cao

Since commit 2070887fdeac ("futex: fix restart in wait_requeue_pi"),
futex_wait_requeue_pi() no longer uses restart_block. Update the comment
accordingly.

Signed-off-by: Nam Cao <namcao@linutronix.de>
---
 include/linux/restart_block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index 13f17676c5f4..2d46702e7474 100644
--- a/include/linux/restart_block.h
+++ b/include/linux/restart_block.h
@@ -26,7 +26,7 @@ struct restart_block {
 	unsigned long arch_data;
 	long (*fn)(struct restart_block *);
 	union {
-		/* For futex_wait and futex_wait_requeue_pi */
+		/* For futex_wait */
 		struct {
 			u32 __user *uaddr;
 			u32 val;
-- 
2.39.5


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

* [tip: locking/futex] futex: Fix outdated comment in struct restart_block
  2025-04-28 19:34 [PATCH] futex: Fix outdated comment in struct restart_block Nam Cao
@ 2025-05-08 18:36 ` tip-bot2 for Nam Cao
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Nam Cao @ 2025-05-08 18:36 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Nam Cao, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the locking/futex branch of tip:

Commit-ID:     01475aedfdfa33a5ee3219079426f5743367c624
Gitweb:        https://git.kernel.org/tip/01475aedfdfa33a5ee3219079426f5743367c624
Author:        Nam Cao <namcao@linutronix.de>
AuthorDate:    Mon, 28 Apr 2025 21:34:45 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 08 May 2025 20:29:07 +02:00

futex: Fix outdated comment in struct restart_block

Since commit 2070887fdeac ("futex: fix restart in wait_requeue_pi"),
futex_wait_requeue_pi() no longer uses restart_block. Update the comment
accordingly.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250428193445.4571-1-namcao@linutronix.de

---
 include/linux/restart_block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index 13f1767..7e50bbc 100644
--- a/include/linux/restart_block.h
+++ b/include/linux/restart_block.h
@@ -26,7 +26,7 @@ struct restart_block {
 	unsigned long arch_data;
 	long (*fn)(struct restart_block *);
 	union {
-		/* For futex_wait and futex_wait_requeue_pi */
+		/* For futex_wait() */
 		struct {
 			u32 __user *uaddr;
 			u32 val;

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

end of thread, other threads:[~2025-05-08 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-28 19:34 [PATCH] futex: Fix outdated comment in struct restart_block Nam Cao
2025-05-08 18:36 ` [tip: locking/futex] " tip-bot2 for Nam Cao

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®