Skip to contentSkip to conversation

futex fix

GIT PULL Merged Ingo Molnar 2 participants 2 messages Sep 20

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest locking/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2026-09-20

for you to fetch changes up to b61b6f95d6722ddbbbd09e689fa41b55fd36f9a5:

- Also allocate a default private futex hash on vfork() as well, to avoid races with (private) futex waiters (Peter Zijlstra)

Thanks,

Ingo

------------------>
Peter Zijlstra (1):
futex: Also allocate private hash on vfork()

 kernel/fork.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/fork.c +2 -2
index a5934a317634..5ef413368912 100644
@@ -1996,9 +1996,9 @@ static bool need_futex_hash_allocate_default(u64 clone_flags)
 {
 	/*
 	 * Allocate a default futex hash for any sibling that will
-	 * share the parent's mm, except vfork.
+	 * share the parent's mm.
 	 */
-	return (clone_flags & (CLONE_VM | CLONE_VFORK)) == CLONE_VM;
+	return clone_flags & CLONE_VM;
 }
 
 /*
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 20 Sep 2026 11:31:50 +0200:

The pull request you sent on Sun, 20 Sep 2026 11:31:50 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2026-09-20

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bdab18633a302c82b5e5d5dbc4e38b0baf9c0837

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html