Re: [PATCH 1/1] liveupdate: kho: calculate per-node scratch sizes before allocation

From: Sourabh Jain

Date: Mon Sep 07 2026 - 23:13:08 EST




On 07/09/26 15:54, George Guo wrote:
Hi Mike,

This reads as LLM-generated text. Please add LLM attribution as per

https://docs.kernel.org/process/coding-assistants.html#attribution
I'll add the Assisted-by tag.

Can't we just calculated all the sizes first and than do the allocations?
Yes, I'll rework this to calculate all scratch sizes together before
allocating the scratch areas.

Adding Sourabh to Cc, since this relates to the scratch-sizing discussion
in the PowerPC KHO thread.

Sourabh, this patch prevents newly allocated scratch areas from being
counted in the per-node baseline. It does not address the overlap between
global and per-node accounting. Could you review this approach as well?

Sure I will review your patch.

- Sourabh Jain