Skip to content

some pipe + wait stuff

Mateusz Guzik linux-fsdevel lkml 1 version Applied

Status from this message: Applied to the vfs-6.15.pipe branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3pipe: drop an always true check in anon_pipe_write()fs/pipe.c+1 -27 replies
2/3pipe: cache 2 pages instead of 1fs/pipe.c include/linux/pipe_fs_i.h+41 -210 replies
3/3wait: avoid spurious calls to prepare_to_wait_event() in ___wait_event()include/linux/wait.h+3 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchOleg Nesterov
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] some pipe + wait stuff

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. That too was posted some days ago, but nobody was biting. Perhaps you will be interested (but again, maybe I got the wrong people from get_maintainer.pl).

Mateusz Guzik (3):
pipe: drop an always true check in anon_pipe_write()
pipe: cache 2 pages instead of 1
wait: avoid spurious calls to prepare_to_wait_event() in

    ___wait_event()
 fs/pipe.c                 | 63 +++++++++++++++++++++++++--------------
 include/linux/pipe_fs_i.h |  2 +-
 include/linux/wait.h      |  3 ++
 3 files changed, 45 insertions(+), 23 deletions(-)
Signature · 1 line
2.43.0