]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge patch series "some pipe + wait stuff"
authorChristian Brauner <brauner@kernel.org>
Tue, 4 Mar 2025 08:46:14 +0000 (09:46 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 4 Mar 2025 08:46:14 +0000 (09:46 +0100)
commit3d5b9f3702f16e683047d0647117a5a297d1e284
treebf96414d0dd23cbd85a3f69cf7a3ec4da747005c
parentee5eda8ea59546af2e8f192c060fbf29862d7cbd
parent84654c7f47307692d47ea914d01287c8c54b3532
Merge patch series "some pipe + wait stuff"

Mateusz Guzik <mjguzik@gmail.com> says:

As a side effect of looking at the pipe hang I came up with 3 changes to
consider for -next.

The first one is a trivial clean up which I wont mind if it merely gets
folded into someone else's change for pipes.

The second one reduces page alloc/free calls for the backing area (60%
less during a kernel build in my testing). I already posted this, but
the cc list was not proper.

The last one concerns the wait/wakeup mechanism and drops one lock trip
in the common case after waking up.

* patches from https://lore.kernel.org/r/20250303230409.452687-1-mjguzik@gmail.com:
  wait: avoid spurious calls to prepare_to_wait_event() in ___wait_event()
  pipe: cache 2 pages instead of 1
  pipe: drop an always true check in anon_pipe_write()

Link: https://lore.kernel.org/r/20250303230409.452687-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>