Re: [PATCH 0/8] simplify ep_poll

From: Linus Torvalds
Date: Fri Nov 06 2020 - 18:35:51 EST


On Fri, Nov 6, 2020 at 3:17 PM Soheil Hassas Yeganeh
<soheil.kdev@xxxxxxxxx> wrote:
>
> 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.

>From just looking at the patches (not the end result - I didn't
actually apply them), it looks sane to me.

Linus