mbox series

[4.14,0/3] POLLFREE fix for 4.14

Message ID 20211211000223.50630-1-ebiggers@kernel.org
Headers show
Series POLLFREE fix for 4.14 | expand

Message

Eric Biggers Dec. 11, 2021, 12:02 a.m. UTC
This kernel version doesn't have aio poll, but the fix for POLLFREE with
exclusive waiters is still applicable to it.  This series resolves
conflicts in all three patches, mostly due to POLLHUP having been
renamed to EPOLLHUP in more recent kernels.

Eric Biggers (3):
  wait: add wake_up_pollfree()
  binder: use wake_up_pollfree()
  signalfd: use wake_up_pollfree()

 drivers/android/binder.c | 21 +++++++++------------
 fs/signalfd.c            | 12 +-----------
 include/linux/wait.h     | 26 ++++++++++++++++++++++++++
 kernel/sched/wait.c      |  7 +++++++
 4 files changed, 43 insertions(+), 23 deletions(-)

Comments

Eric Biggers Dec. 11, 2021, 12:10 a.m. UTC | #1
On Fri, Dec 10, 2021 at 04:02:20PM -0800, Eric Biggers wrote:
> This kernel version doesn't have aio poll, but the fix for POLLFREE with
> exclusive waiters is still applicable to it.  This series resolves
> conflicts in all three patches, mostly due to POLLHUP having been
> renamed to EPOLLHUP in more recent kernels.
> 
> Eric Biggers (3):
>   wait: add wake_up_pollfree()
>   binder: use wake_up_pollfree()
>   signalfd: use wake_up_pollfree()
> 
>  drivers/android/binder.c | 21 +++++++++------------
>  fs/signalfd.c            | 12 +-----------
>  include/linux/wait.h     | 26 ++++++++++++++++++++++++++
>  kernel/sched/wait.c      |  7 +++++++
>  4 files changed, 43 insertions(+), 23 deletions(-)
> 

Sorry, ignore this one; there's a build error in kernel/sched/wait.c.

- Eric