mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@stgolabs.net>
To: Linus Torvalds <torvalds@linuxfoundation.org>
Cc: tglx@kernel.org, mingo@redhat.com, peterz@infradead.org,
	bigeasy@linutronix.de, yimingqian591@gmail.com,
	dvhart@infradead.org, andrealmeid@igalia.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] futex: Drop CLONE_THREAD requirement for private default hash alloc
Date: Fri, 1 May 2026 13:05:10 -0700	[thread overview]
Message-ID: <20260501200510.5drtcxg4clvb6vsw@offworld> (raw)
In-Reply-To: <CAHk-=wjgovpuJ_HfQ9Ra2d3ZUT8caL=BQ+ChXVqBW7M8-1e8dg@mail.gmail.com>

On Fri, 01 May 2026, Linus Torvalds wrote:

>On Fri, 1 May 2026 at 12:41, Davidlohr Bueso <dave@stgolabs.net> wrote:
>>
>> Loosen the check to cover any CLONE_VM clone, except vfork(). Excluding
>> vfork keeps the existing paths untouched (no overhead), and we can't
>> race in the first place: either the parent is suspended and the child runs
>> alone, or mm->futex_ref is already allocated from an earlier CLONE_THREAD.
>
>That "earlier CLONE_THREAD" should presumably be "earlier CLONE_VM", no?

yes :)

  reply	other threads:[~2026-05-01 20:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-01 19:41 Davidlohr Bueso
2026-05-01 20:01 ` Linus Torvalds
2026-05-01 20:05   ` Davidlohr Bueso [this message]
2026-05-01 20:13     ` Linus Torvalds
2026-05-02 15:57 Mohamed Ayman
2026-05-02 17:24 ` Andrew Morton
2026-05-02 17:39   ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260501200510.5drtcxg4clvb6vsw@offworld \
    --to=dave@stgolabs.net \
    --cc=andrealmeid@igalia.com \
    --cc=bigeasy@linutronix.de \
    --cc=dvhart@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@kernel.org \
    --cc=torvalds@linuxfoundation.org \
    --cc=yimingqian591@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®