Re: [PATCH v17 03/14] shmem: Implement splice-read

From: Linus Torvalds
Date: Tue Mar 14 2023 - 15:08:01 EST


On Tue, Mar 14, 2023 at 11:26 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Are you okay if we go with my current patch for the moment?

I guess.

But please at least stop doing the

get_page(buf->page);

on the zero-page (which includes using no-op .get and .put functions
in zero_pipe_buf_ops().

Maybe we can do /dev/null some day and actually have a common case for those.

Linus