diff options
author | 2024-12-16 13:20:25 +0100 | |
---|---|---|
committer | 2025-01-25 20:22:19 -0800 | |
commit | e2c9e6190dbb127466b9da9fb18f9adc16dff43b (patch) | |
tree | 0291b0aab3bc42da2d11a44c979c4ca8d39e4531 /lib/test_maple_tree.c | |
parent | mm/huge_memory.c: rename shadowed local (diff) | |
download | wireguard-linux-e2c9e6190dbb127466b9da9fb18f9adc16dff43b.tar.xz wireguard-linux-e2c9e6190dbb127466b9da9fb18f9adc16dff43b.zip |
mm/page_idle: constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved
into read-only memory. Make use of that to protect them against
accidental or malicious modifications.
Link: https://lkml.kernel.org/r/20241216-sysfs-const-bin_attr-page_idle-v1-1-cc01ecc55196@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_maple_tree.c')
0 files changed, 0 insertions, 0 deletions