Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-27 Thread Jan Beulich
On 27.01.2023 11:17, Carlo Nonato wrote: > On Thu, Jan 26, 2023 at 5:29 PM Jan Beulich wrote: >> On 23.01.2023 16:47, Carlo Nonato wrote: >>> --- a/xen/arch/arm/include/asm/mm.h >>> +++ b/xen/arch/arm/include/asm/mm.h >>> @@ -128,6 +128,9 @@ struct page_info >>> #else >>> #define PGC_static

Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-27 Thread Carlo Nonato
Hi Jan, On Thu, Jan 26, 2023 at 5:29 PM Jan Beulich wrote: > > On 23.01.2023 16:47, Carlo Nonato wrote: > > --- a/docs/misc/xen-command-line.pandoc > > +++ b/docs/misc/xen-command-line.pandoc > > @@ -299,6 +299,20 @@ can be maintained with the pv-shim mechanism. > > cause Xen not to use

Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-26 Thread Jan Beulich
On 23.01.2023 16:47, Carlo Nonato wrote: > --- a/docs/misc/xen-command-line.pandoc > +++ b/docs/misc/xen-command-line.pandoc > @@ -299,6 +299,20 @@ can be maintained with the pv-shim mechanism. > cause Xen not to use Indirect Branch Tracking even when support is > available in hardware.

Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-26 Thread Jan Beulich
On 26.01.2023 12:00, Carlo Nonato wrote: > On Tue, Jan 24, 2023 at 5:50 PM Jan Beulich wrote: >> On 23.01.2023 16:47, Carlo Nonato wrote: >>> From: Luca Miccio >>> >>> This commit adds a new memory page allocator that implements the cache >>> coloring mechanism. The allocation algorithm follows

Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-26 Thread Carlo Nonato
Hi Jan, On Tue, Jan 24, 2023 at 5:50 PM Jan Beulich wrote: > > On 23.01.2023 16:47, 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 > >

Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-24 Thread Jan Beulich
On 23.01.2023 16:47, Carlo Nonato wrote: > --- a/docs/misc/xen-command-line.pandoc > +++ b/docs/misc/xen-command-line.pandoc > @@ -299,6 +299,20 @@ can be maintained with the pv-shim mechanism. > cause Xen not to use Indirect Branch Tracking even when support is > available in hardware.

Re: [PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-24 Thread Jan Beulich
On 23.01.2023 16:47, 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 multiple >

[PATCH v4 07/11] xen: add cache coloring allocator for domains

2023-01-23 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