Message ID | 20250102-sysfs-const-attr-elevator-v1-0-9837d2058c60@weissschuh.net (mailing list archive) |
---|---|
Headers | show |
Series | elevator: Enable const sysfs attributes | expand |
On Thu, 02 Jan 2025 13:01:30 +0100, Thomas Weißschuh wrote: > The elevator core does not need to modify the sysfs attributes added by > the elevators. Move the attributes into read-only memory. > > Applied, thanks! [1/4] elevator: Enable const sysfs attributes commit: 044792cda05a97ae1da330771ec2140ae86439ec [2/4] block: mq-deadline: Constify sysfs attributes commit: 8686e1dedac7190d2f148b23e4f1ac69d2e37d6b [3/4] block, bfq: constify sysfs attributes commit: c40f9f6ac59f949b6cbf10903fa2aae76efffa20 [4/4] kyber: constify sysfs attributes commit: 00aab2f236f25f3dc3c88eee1b8ccb0cbcae3f99 Best regards,
The elevator core does not need to modify the sysfs attributes added by the elevators. Move the attributes into read-only memory. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> --- Thomas Weißschuh (4): elevator: Enable const sysfs attributes block: mq-deadline: Constify sysfs attributes block, bfq: constify sysfs attributes kyber: constify sysfs attributes block/bfq-iosched.c | 2 +- block/elevator.c | 8 ++++---- block/elevator.h | 2 +- block/kyber-iosched.c | 2 +- block/mq-deadline.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) --- base-commit: 56e6a3499e14716b9a28a307bb6d18c10e95301e change-id: 20241231-sysfs-const-attr-elevator-97843481ad5e Best regards,