Re: [PATCH 0/9 RFC] Make wake_up_{bit,var} less fragile
From: Linus Torvalds
Date: Tue Aug 20 2024 - 18:25:31 EST
On Tue, 20 Aug 2024 at 15:16, NeilBrown <neilb@xxxxxxx> 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