Files
linux/drivers/misc
Can Peng 38a5a54f6d kgdbts: mark kgdbts_option_setup() with __init to free init memory
The kgdbts_option_setup() function is invoked only once early in boot
via the __setup("kgdbts=", ...) mechanism to parse the kernel
command-line option.After init is complete, it is never called again.

Annotating it with __init places the function in the .init.text section,
enabling the kernel to free its code memory during the init memory
cleanup phase (free_initmem()). This reduces the kernel’s runtime
memory footprint with no functional side effects.

Signed-off-by: Can Peng <pengcan@kylinos.cn>
Link: https://patch.msgid.link/20251208130525.2775885-1-pengcan@kylinos.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-16 16:35:34 +01:00
..
2025-12-19 12:42:23 -08:00
2025-10-22 07:54:15 +02:00
2025-06-24 16:45:08 +01:00
2024-05-22 08:31:17 -04:00
2024-10-13 17:11:51 +02:00