summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorCan Peng <pengcan@kylinos.cn>2025-12-08 17:50:10 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-12-19 14:47:47 +0800
commit97282e2cdecb209b4d19b2a7c52eb71fb8a82435 (patch)
tree5e49908eca5586a30a78e55b0bf22c15eba0e164 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parente6bba60966bbb31ac54319dac3b9ad41113a8f0a (diff)
crypto: fips - annotate fips_enable() with __init to free init memory after boot
The fips_enable() function is only invoked early during kernel boot via the __setup() macro ("fips=" command line parameter), and is never used again after initialization completes. Annotating it with __init places the function in the .init.text section, allowing the kernel to free its memory after init (when freeing_initmem() runs), reducing runtime memory footprint. This is a standard practice for setup/early-parse functions and has no functional impact — the parsing logic, return values, and fips mode setting behavior remain unchanged. Signed-off-by: Can Peng <pengcan@kylinos.cn> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions