]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
buffer: Remove b_end_io
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 May 2026 17:31:45 +0000 (18:31 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 4 Jun 2026 08:28:10 +0000 (10:28 +0200)
commitac75b922bb67cc8edb52006c9346dc0ca91d04c8
tree491aa707e9a74fe3094e97b22eadecb2c6282f29
parent2911b935825523a71a71eecfe908902d181c041e
buffer: Remove b_end_io

This shrinks buffer_head by 8 bytes, letting us pack more buffer heads
per slab.  With a Debian config, it shrinks from 104 bytes to 96 bytes
which is 42 objects per 4KiB page rather than 39, a 7% reduction in the
amount of memory used.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20260528173150.1093780-33-willy@infradead.org
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Documentation/filesystems/locking.rst
drivers/md/raid5.h
fs/buffer.c
include/linux/buffer_head.h