Re: [PATCH 1/8] epoll: check for events when removing a timed out thread from the wait queue

2020-11-09 Thread Davidlohr Bueso
On Fri, 06 Nov 2020, Soheil Hassas Yeganeh wrote: From: Soheil Hassas Yeganeh After abc610e01c66 ("fs/epoll: avoid barrier after an epoll_wait(2) timeout"), we break out of the ep_poll loop upon timeout, without checking whether there is any new events available. Prior to that patch-series

[PATCH 1/8] epoll: check for events when removing a timed out thread from the wait queue

2020-11-06 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh After abc610e01c66 ("fs/epoll: avoid barrier after an epoll_wait(2) timeout"), we break out of the ep_poll loop upon timeout, without checking whether there is any new events available. Prior to that patch-series we always called ep_events_available() after exiting