Re: [PATCH 03/11] xen/page_alloc: Add static per-node counts of free pages

2025-06-11 Thread Jan Beulich
On 14.03.2025 18:24, Alejandro Vallejo wrote: > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -485,6 +485,9 @@ static unsigned long node_need_scrub[MAX_NUMNODES]; > static unsigned long *avail[MAX_NUMNODES]; > static long total_avail_pages; > > +/* Per-node counts of free p

Re: [PATCH 03/11] xen/page_alloc: Add static per-node counts of free pages

2025-06-05 Thread Roger Pau Monné
On Fri, Mar 14, 2025 at 05:24:54PM +, Alejandro Vallejo wrote: > These are effectively the sum of free memory in all zones of each node. > It's an optimization to avoid doing that operation frequently in > following patches that introduce exact-node claims. > > Signed-off-by: Alejandro Vallejo