Re: [RFC PATCH 2/4] splice: Make vmsplice() steal or copy

From: Simon Horman
Date: Fri Jun 30 2023 - 09:45:01 EST


On Thu, Jun 29, 2023 at 04:54:31PM +0100, David Howells wrote:

...

> static int iter_to_pipe(struct iov_iter *from,
> struct pipe_inode_info *pipe,
> unsigned flags)
> {
> - struct pipe_buffer buf = {
> - .ops = &user_page_pipe_buf_ops,

Hi David,

perhaps this patchset will change somewhat based on discussion
elsewhere in this thread.

But, on a more mundane level, GCC reports that user_page_pipe_buf_ops is
(now) unused. I guess this was the last user, and user_page_pipe_buf_ops
can be removed as part of this patch.

...