On Fri, 08 May 2026 21:27:57 +0100, Bernhard Kaindl 
<[email protected]> wrote:
> Add node_avail_pages[], updated under heap_lock in sync with
> avail[node][zone] to cache the per-node sum of free pages.
> 
> Use it in avail_node_heap_pages() to avoid summing all zones on each
> call. Guard it with nodeid < MAX_NUMNODES and node_online(nodeid).
> 
> 
> [...]

Reviewed-by: Baptiste Le Duc <[email protected]>

-- 
Baptiste Le Duc <[email protected]>

Reply via email to