Re: [PATCH v11 09/12] xen: add cache coloring allocator for domains

2024-12-09 Thread Jan Beulich
On 02.12.2024 17:59, Carlo Nonato wrote: > +static void __init init_color_heap_pages(struct page_info *pg, > + unsigned long nr_pages) > +{ > +unsigned long i; > +bool need_scrub = opt_bootscrub == BOOTSCRUB_IDLE; > + > +#ifdef buddy_alloc_size Did y

[PATCH v11 09/12] xen: add cache coloring allocator for domains

2024-12-02 Thread Carlo Nonato
Add a new memory page allocator that implements the cache coloring mechanism. The allocation algorithm enforces equal frequency distribution of cache partitions, following the coloring configuration of a domain. This allows for an even utilization of cache sets for every domain. Pages are stored i