Post by Lew PitcherGlad to hear that. Apparently, the inclusion of disk drivers no longer
makes a significant difference on the end resident size of the kernel.
I'd be interested to know what your dmesg says about the kernel memory
Would you be willing to post the results of
dmesg | grep 'Memory:'
and
dmesg | grep 'Freeing unused kernel memory:'
under all three kernels?
That would tell us directly (rather than by implication) how much memory
each kernel takes.
dmsg-memory-generic-6.6.27
[ 0.340626] PM: hibernation: Registered nosave memory: [mem
0x00000000-0x00000fff]
[ 0.340632] PM: hibernation: Registered nosave memory: [mem
0x0009f000-0x0009ffff]
[ 0.340635] PM: hibernation: Registered nosave memory: [mem
0x000a0000-0x000effff]
[ 0.340636] PM: hibernation: Registered nosave memory: [mem
0x000f0000-0x000fffff]
[ 0.362893] Memory: 3029884K/3145272K available (22528K kernel code,
3434K rwdata, 7724K rodata, 3728K init, 4868K bss, 115128K reserved, 0K
cma-reserved)
[ 0.437814] Freeing SMP alternatives memory: 64K
[ 1.171765] Freeing initrd memory: 9420K
[ 6.295892] Freeing unused decrypted memory: 2028K
[ 6.311805] Freeing unused kernel image (initmem) memory: 3728K
[ 6.342365] Freeing unused kernel image (rodata/data gap) memory: 468K
dmsg-memory-huge-6.6.27
[ 0.028558] PM: hibernation: Registered nosave memory: [mem
0x00000000-0x00000fff]
[ 0.028561] PM: hibernation: Registered nosave memory: [mem
0x0009f000-0x0009ffff]
[ 0.028563] PM: hibernation: Registered nosave memory: [mem
0x000a0000-0x000effff]
[ 0.028564] PM: hibernation: Registered nosave memory: [mem
0x000f0000-0x000fffff]
[ 0.052446] Memory: 3035204K/3145272K available (24576K kernel code,
3645K rwdata, 8764K rodata, 4064K init, 3508K bss, 109808K reserved, 0K
cma-reserved)
[ 0.146341] Freeing SMP alternatives memory: 68K
[ 6.019644] Freeing unused decrypted memory: 2028K
[ 6.032489] Freeing unused kernel image (initmem) memory: 4064K
[ 6.075487] Freeing unused kernel image (rodata/data gap) memory: 1476K
dmsg-memory-huge-6.8.6
[ 0.028539] PM: hibernation: Registered nosave memory: [mem
0x00000000-0x00000fff]
[ 0.028543] PM: hibernation: Registered nosave memory: [mem
0x0009f000-0x0009ffff]
[ 0.028544] PM: hibernation: Registered nosave memory: [mem
0x000a0000-0x000effff]
[ 0.028545] PM: hibernation: Registered nosave memory: [mem
0x000f0000-0x000fffff]
[ 0.051606] Memory: 3035204K/3145272K available (24576K kernel code,
3653K rwdata, 8864K rodata, 4092K init, 3404K bss, 109808K reserved, 0K
cma-reserved)
[ 0.153368] Freeing SMP alternatives memory: 68K
[ 5.951739] Freeing unused decrypted memory: 2028K
[ 5.967211] Freeing unused kernel image (initmem) memory: 4092K
[ 5.998271] Freeing unused kernel image (rodata/data gap) memory: 1376K
Looks to me as though it frees everything unused.
--
Chris Elvidge, England
I WILL TRY TO RAISE A BETTER CHILD