From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D85D370AC2; Tue, 28 Jul 2026 21:29:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785274176; cv=none; b=KjftkPsysc0LiUeDlM7Egtp9M9T6XdV42Y43k+uNTGnNQ7HNJZh9NZzqIU3tm7Ilum328gdtnpqrwfpSkDv1AHUoQwpla6LzqpF32wmFg/rl9rieu49+ibdScjw8RG5cmlHfVNfaFeS8QDqmAh9blJx5JPEhTnzwG8dmU8dPRP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785274176; c=relaxed/simple; bh=CXA8inj0GxqAD1MGJVIW7bx4ifNsrpcAuc54JBaetuA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=JEfn+LEsKWmghsy24tX73aSzDNQmsXsoUYw2T7xohnaTJg7jJFcCmPlftc+T0sQz+wIxEfcwhlUWjbuMOU6cqR0rMeBaAnRFSQ2y/SksbJKqo2UPaZZfmUSL41FJjpR2hPuNItfjvEmLwSbthbCwDiyIg9nn2qrZ+h1A0/MBJ+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kuc/9NIK; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kuc/9NIK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A8391F000E9; Tue, 28 Jul 2026 21:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785274175; bh=uUCVWIcuHfvmoFpYy7qJfcNSK65Nn1BPbtNKfMwPaXU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=kuc/9NIKdXqHc4mulOni3rlg7XcU0fPIQZhUe6OzXStSpqYheqWyO/OMi3y36BOos D5EGFzOdwpb6GCHTwMuv8wEKwViiin9IpqKSS3OMuAWUiihlVwttR+iMufQbYr6f40 HrMuycJTjDPmkvfmgl5M4VeyLj+DZiN4uW/PUR6HN35nNF0m873CUfablbPbhTfd5M 7nerbBDFHNj2mbdJoSTR7j81M9cOjj3oMlBZ6I1E+IbG2k75tgmm8IIcsl6J43EOo9 IgVSYRQIRdV2XFNHyhc6J8xbZcKsI3ZfupLy1xgQ+CvK+l2ZHxXsooAUGh/wL+TMFn P5BbXo5LKAy/g== From: Thomas Gleixner To: Keno Fischer Cc: Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , =?utf-8?Q?Andr=C3=A9?= Almeida , Yang Tao , Yi Wang , Linux Kernel Mailing List , stable@vger.kernel.org, Florian Weimer , Oleg Nesterov , Christian Brauner Subject: Re: [PATCH] futex: Prevent robust futex exit race more In-Reply-To: <87o6fqhpcw.ffs@fw13> References: <87bjc0led9.ffs@fw13> <87v7a7jeav.ffs@fw13> <87zezdiiyg.ffs@fw13> <87ldawinki.ffs@fw13> <87o6fqhpcw.ffs@fw13> Date: Tue, 28 Jul 2026 23:29:31 +0200 Message-ID: <87ldauhkg4.ffs@fw13> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Jul 28 2026 at 21:43, Thomas Gleixner wrote: > On Mon, Jul 27 2026 at 13:23, Keno Fischer wrote: > >> On Mon, Jul 27, 2026 at 9:12=E2=80=AFAM Thomas Gleixner wrote: >>> Reworked version below. >> >> Patch looks good and passes all my local tests! Thanks! > > Let me write a change log then ... While doing so I thought about your initial fix some more. I still hate it because it papers over the underlying problem, but on the other hand it'll take quite some time until the robust unlock changes will be adopted by libraries and backport wise this is innocuous enough. So I'm going to apply it under protest :) Rusty Russel said in 2002: "Futexes are really cursed." See kernel/futex/core.c::31 Maybe I should remove that comment to put that to an end :) Thanks, tglx