[PATCH 0/1] pipe: only enable the extra wake_up(rd_wait) when epoll is actually used

From: Oleg Nesterov

Date: Thu Jul 23 2026 - 11:02:30 EST


Breno, Christian, Mateusz,

To be honest, I am not sure this change makes a lot of sense.
But somehow the extra wakeup in anon_pipe_write() looks annoying to me.

Can you take a look?

Plus I'd like to know what sashiko.dev thinks.

I have no idea how to test it wrt performance...

Oleg.
---

fs/pipe.c | 23 +++++++++++++++++++----
include/linux/pipe_fs_i.h | 6 ++++--
2 files changed, 23 insertions(+), 6 deletions(-)