Files
linux/kernel/module.c
Tao Zeng 9a149fa4b0 rodata: optimize memory usage of rodata section [3/5]
PD#SWPL-31258

Problem:
Kernel RO data is too large, about 4.5mb on 32bit and 5.9mb on
64bit kernel

Solution:
1, remove CONFIG_KALLSYMS_ALL in module.c, which can help to save
about 200KB module memory during runtime compared from /proc/pagetrce:
           3068,         c020edd8, module_alloc   -- before
           2776,         c020edd8, module_alloc   -- after

Verify:
x301

Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I15acee0df76f74a04c10d8f290d10fc35d51a283
2023-04-21 13:52:34 +09:00

111 KiB