simplify ep_poll
Status from this message: [merged] epoll-eliminate-unnecessary-lock-for-zero-timeout.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | epoll: check for events when removing a timed out thread from the wait queuefs/ | +16 | 1 reply | Applied |
| 2/8 | epoll: simplify signal handlingfs/ | +10 | 0 replies | Applied |
| 3/8 | epoll: pull fatal signal checks into ep_send_events()fs/ | +8 | 0 replies | Applied |
| 4/8 | epoll: move eavail next to the list_empty_careful checkfs/ | +1 | 0 replies | Applied |
| 5/8 | epoll: simplify and optimize busy loop logicfs/ | +19 | 0 replies | Applied |
| 6/8 | epoll: pull all code between fetch_events and send_event into the loopfs/ | +21 | 0 replies | Applied |
| 7/8 | epoll: replace gotos with a proper loopfs/ | +21 | 0 replies | Applied |
| 8/8 | epoll: eliminate unnecessary lock for zero timeoutfs/ | +12 | 0 replies | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eric Dumazet | Willem de Bruijn | Khazhismel Kumykov | Guantao Liu | Davidlohr Bueso |
|---|---|---|---|---|---|
| Series | R-b | R-b | R-b | ||
| 1/8 | R-b | R-b | R-b | T-b | R-b |
| 2/8 | R-b | R-b | R-b | ||
| 3/8 | R-b | R-b | R-b | ||
| 4/8 | R-b | R-b | R-b | ||
| 5/8 | R-b | R-b | R-b | ||
| 6/8 | R-b | R-b | R-b | ||
| 7/8 | R-b | R-b | R-b | ||
| 8/8 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 0/8] simplify ep_poll
From: Soheil Hassas Yeganeh <[email protected]>
This patch series is a follow up based on the suggestions and feedback by Linus:
https://lkml.kernel.org/r/CAHk-=wizk=OxUyQPbO8MS41w2Pag1kniUV5WdD5qWL-gq1kjDA@mail.gmail.com
The first patch in the series is a fix for the epoll race in presence of timeouts, so that it can be cleanly backported to all affected stable kernels.
The rest of the patch series simplify the ep_poll() implementation. Some of these simplifications result in minor performance enhancements as well. We have kept these changes under self tests and internal benchmarks for a few days, and there are minor (1-2%) performance enhancements as a result.
Soheil Hassas Yeganeh (8):
epoll: check for events when removing a timed out thread from the wait
queue
epoll: simplify signal handling
epoll: pull fatal signal checks into ep_send_events()
epoll: move eavail next to the list_empty_careful check
epoll: simplify and optimize busy loop logic
epoll: pull all code between fetch_events and send_event into the loop
epoll: replace gotos with a proper loop
epoll: eliminate unnecessary lock for zero timeout
fs/eventpoll.c | 159 +++++++++++++++++++++++++------------------------ 1 file changed, 80 insertions(+), 79 deletions(-)
Signature · 1 line
2.29.1.341.ge80a0c044ae-goog