summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-09-16 08:57:14 -0700
committerChristian Brauner <brauner@kernel.org>2026-09-25 16:44:35 +0200
commitb76721a82cbe36ed3c28850566ac9041e71fda28 (patch)
tree661d392ff752d5a5a9dbbb48e54da0eaba9605aa /tools/lib/python/kdoc/python_version.py
parent0129ac825a37783493d2dd1ac10dbc14b074afbe (diff)
downloadlinux-next-b76721a82cbe36ed3c28850566ac9041e71fda28.tar.gz
linux-next-b76721a82cbe36ed3c28850566ac9041e71fda28.zip
pipe: pass a poll key when waking writers after a resize
pipe_resize_ring() wakes pipe->wr_wait with a NULL key. ep_poll_callback() and pollwake() only filter on the registered event mask when a key is supplied, so every epoll, poll() and select() waiter on the write queue is woken, whether or not it asked for the event that occurred. The event is the one the comment above the wakeup already names: more room for writers. anon_pipe_write() passes EPOLLOUT | EPOLLWRNORM when waking the same queue; do the same here. Writers blocked in wait_event_interruptible_exclusive() are unaffected, as autoremove_wake_function() ignores the key. Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260916-pipe-resize-poll-key-v1-1-0f8f04f7dd5e@debian.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions