summaryrefslogtreecommitdiff
path: root/Documentation/process/stable-kernel-rules.rst
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@ionos.com>2023-09-19 10:37:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-05 14:34:05 +0300
commit1b057bd800c3ea0c926191d7950cd2365eddc9bb (patch)
treefd2479575d90eea9432fb808cc0ed3119197f9bf /Documentation/process/stable-kernel-rules.rst
parent19e3e6cdfdc73400eb68d1102cdbad4f9493f474 (diff)
downloadlinux-1b057bd800c3ea0c926191d7950cd2365eddc9bb.tar.xz
drivers/char/mem: implement splice() for /dev/zero, /dev/full
This allows splicing zeroed pages into a pipe, and allows discarding pages from a pipe by splicing them to /dev/zero. Writing to /dev/zero should have the same effect as writing to /dev/null, and a "splice_write" implementation exists only for /dev/null. (The /dev/zero splice_read implementation could be optimized by pushing references to the global zero page to the pipe, but that's an optimization for another day.) Signed-off-by: Max Kellermann <max.kellermann@ionos.com> Link: https://lore.kernel.org/r/20230919073743.1066313-1-max.kellermann@ionos.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/process/stable-kernel-rules.rst')
0 files changed, 0 insertions, 0 deletions