On Tue Nov 25, 2025 at 5:38 AM UTC, Mike Larkin wrote:
>> Is it possible to remove kernel options not useful for VMs, such as say
>> DRM and graphics drivers, and not have those as part of the linking
>> process? I imagine that would lower reorder_kernel memory consumption
>> quite a bit.
>>
>
> probably won't help as much as you think. Those devices don't attach, so they
> won't consume any memory aside from a few mb in .text .
>
> -ml

Hi Mike,

I mean more at the linking process, as ld's memory usage gets so high.

I can't help but think that if it wasn't linking say amdgpu, ld would
use a lot less memory.

Though, I'm not sure one can drop parts being linked without
recompiling?

It'd be nice to have a 512MB server comfortable booting without swap,
in a heavy multi-tenant usecase.

-Henrich

Reply via email to