[PATCH] lib/crc: make the CPU feature static keys __ro_after_init
Martin K. Petersen
martin.petersen at oracle.com
Mon Apr 14 07:03:54 PDT 2025
Eric,
> All of the CRC library's CPU feature static_keys are initialized by
> initcalls and never change afterwards, so there's no need for them to
> be in the regular .data section. Put them in .data..ro_after_init
> instead.
LGTM.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
--
Martin K. Petersen
More information about the linux-arm-kernel
mailing list