Re: [PATCH 0/5] poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
From: Christian Brauner
Date: Fri Jan 10 2025 - 05:56:42 EST
On Tue, Jan 07, 2025 at 09:38:36AM -0800, Linus Torvalds wrote:
> On Tue, 7 Jan 2025 at 08:27, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> >
> > I misread fs/eventpoll.c, it has the same problem. And more __pollwait()-like
> > functions, for example p9_pollwait(). So 1/5 adds mb() into poll_wait(), not
> > into __pollwait().
>
> Ack on all five patches, looks sane to me.
>
> Christian, I'm assuming this goes through your tree? If not, holler,
> and I can take it directly.
Yes, on it. Sorry, this took a bit. I'm trying to work downwards through
all the mail.