]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/slab: constify sysfs attributes
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 23 Feb 2026 21:37:44 +0000 (22:37 +0100)
committerVlastimil Babka (SUSE) <vbabka@kernel.org>
Thu, 26 Feb 2026 14:25:06 +0000 (15:25 +0100)
commit9042e77a5c29d42a56540b9402c8cc01b1c126e7
tree395a5c23c1fe6d8738fec5e34735782219fe4733
parent5aa2a02b985f36a9042b2c7fa63a15de096effb9
mm/slab: constify sysfs attributes

These attributes are never modified, make them read-only.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Link: https://patch.msgid.link/20260223-sysfs-const-slub-v1-2-ff86ffc26fff@weissschuh.net
Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
mm/slub.c