Re: [PATCH v3 6/9] xen/common: add cache coloring allocator for domains

2022-11-14 Thread Jan Beulich
On 14.11.2022 16:04, Carlo Nonato wrote: > On Thu, Nov 10, 2022 at 5:47 PM Jan Beulich wrote: >> On 22.10.2022 17:51, Carlo Nonato wrote: >>> --- a/xen/arch/arm/p2m.c >>> +++ b/xen/arch/arm/p2m.c >>> @@ -661,7 +661,12 @@ static int p2m_create_table(struct p2m_domain *p2m, >>> lpae_t *entry) >>>

Re: [PATCH v3 6/9] xen/common: add cache coloring allocator for domains

2022-11-14 Thread Carlo Nonato
Hi Jan, On Thu, Nov 10, 2022 at 5:47 PM Jan Beulich wrote: > > On 22.10.2022 17:51, Carlo Nonato wrote: > > --- a/xen/arch/arm/p2m.c > > +++ b/xen/arch/arm/p2m.c > > @@ -661,7 +661,12 @@ static int p2m_create_table(struct p2m_domain *p2m, > > lpae_t *entry) > > > >

Re: [PATCH v3 6/9] xen/common: add cache coloring allocator for domains

2022-11-10 Thread Jan Beulich
On 22.10.2022 17:51, Carlo Nonato wrote: > --- a/xen/arch/arm/p2m.c > +++ b/xen/arch/arm/p2m.c > @@ -661,7 +661,12 @@ static int p2m_create_table(struct p2m_domain *p2m, > lpae_t *entry) > > ASSERT(!p2m_is_valid(*entry)); > > -page = alloc_domheap_page(NULL, 0); > +/* If cache

Re: [PATCH v3 6/9] xen/common: add cache coloring allocator for domains

2022-10-25 Thread Carlo Nonato
On Sat, Oct 22, 2022 at 5:51 PM Carlo Nonato wrote: > > From: Luca Miccio > > This commit adds a new memory page allocator that implements the cache > coloring mechanism. The allocation algorithm follows the given domain color > configuration and maximizes contiguity in the page selection of

[PATCH v3 6/9] xen/common: add cache coloring allocator for domains

2022-10-22 Thread Carlo Nonato
From: Luca Miccio This commit adds a new memory page allocator that implements the cache coloring mechanism. The allocation algorithm follows the given domain color configuration and maximizes contiguity in the page selection of multiple subsequent requests. Pages are stored in a color-indexed