RE: [PATCH] drivers/char/mem: splice the zero page for /dev/zero and /dev/full

From: Pan, Kris

Date: Fri Aug 28 2026 - 22:26:47 EST


Hi Max,

Thanks for the review and the Reviewed-by.

Good point about the duplication — I'll move zero_pipe_buf_ops and
splice_zeropage_into_pipe() into fs/splice.c so both mm/shmem.c and
drivers/char/mem.c can share them, and rework splice_read_zero() to use
the shared helper. I'll send a v2 with that refactor.

Thanks,
Kris