Re: [PATCH v2] x86/mm: use max memory block size on bare metal

From: Dave Hansen
Date: Thu Jun 11 2020 - 10:16:07 EST


On 6/9/20 3:54 PM, Daniel Jordan wrote:
> + /*
> + * Use max block size to minimize overhead on bare metal, where
> + * alignment for memory hotplug isn't a concern.
> + */
> + if (hypervisor_is_type(X86_HYPER_NATIVE)) {
> + bz = MAX_BLOCK_SIZE;
> + goto done;
> + }

What ends up being the worst case scenario? Booting a really small
bare-metal x86 system, say with 64MB or 128MB of RAM? What's the
overhead there?