lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 5 May 2020 13:35:34 -0700
From:   Khazhismel Kumykov <>
To:     Andrew Morton <>
Cc:     Roman Penyaev <>, Jason Baron <>,
        Alexander Viro <>,
        linux-fsdevel <>,
        Linux Kernel Mailing List <>,
Subject: Re: [PATCH 1/1] epoll: call final ep_events_available() check under
 the lock

On Tue, May 5, 2020 at 1:04 PM Andrew Morton <> wrote:
> On Tue, 05 May 2020 10:42:05 +0200 Roman Penyaev <> wrote:
> > May I ask you to remove "epoll: ensure ep_poll() doesn't miss wakeup
> > events" from your -mm queue? Jason lately found out that the patch
> > does not fully solve the problem and this one patch is a second
> > attempt to do things correctly in a different way (namely to do
> > the final check under the lock). Previous changes are not needed.
> Where do we stand with Khazhismel's "eventpoll: fix missing wakeup for
> ovflist in ep_poll_callback"?

My understanding is - we need the ep_poll_callback fix on a logical
level (ovfllist was never triggering wakeup), and the two follow-ups
close races - in both how we add/remove from the wait queue, and how
we observe the ready list, which are needed if we only wake when we
add events, where before we were also waking when we were splicing
ovflist events when reading the ready list. As well, the first two
together are needed for epoll60 to pass in my testing.


Download attachment "smime.p7s" of type "application/pkcs7-signature" (3850 bytes)

Powered by blists - more mailing lists