[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whtmQyq9OZLHPDVkkq-XVQNMF1ck-vSZjQYo=g4=Ue1Zg@mail.gmail.com>
Date: Tue, 20 Aug 2024 15:24:59 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: NeilBrown <neilb@...e.de>
Cc: Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 0/9 RFC] Make wake_up_{bit,var} less fragile
On Tue, 20 Aug 2024 at 15:16, NeilBrown <neilb@...e.de> wrote:
>
> The argument is more like "we have interfaces that are often used
> wrongly and the resulting bugs are hard to find through testing because
> they don't affect the more popular architectures".
Right, but let's make the fix be that we actually then make those
places use better interfaces that don't _have_ any memory ordering
issues.
THAT is my argument. In the "combined" interface, the problem simply
goes away entirely, rather than being hidden by adding possibly
totally pointless barriers.
Linus
Powered by blists - more mailing lists