Re: [PATCH v2 2/2] mm/memblock: only mark/clear KHO scratch memory when needed

From: Andrew Morton

Date: Thu Nov 27 2025 - 15:55:40 EST


On Thu, 27 Nov 2025 20:33:20 +0000 Usama Arif <usamaarif642@xxxxxxxxx> wrote:

> The scratch memory for kexec handover is used to bootstrap the
> kexec'ed kernel. It is only needed when CONFIG_KEXEC_HANDOVER
> is enabled and only if it is a KHO boot. Add checks to prevent
> marking a KHO scratch region unless needed.

What effect does this change have? Lessened memory consumption,
presumably. Of what magnitude and for what time period?