Re: [PATCH v10 08/12] xen/page_alloc: introduce preserved page flags macro

2024-12-02 Thread Jan Beulich
On 02.12.2024 13:51, Andrea Bastoni wrote: > The proposal would be to go back to v9, which reduces (for the PGC) > the management to colored only: > >> diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c > ... >> @@ -2382,7 +2556,7 @@ int assign_pages( >> >> for ( i = 0; i < nr

Re: [PATCH v10 08/12] xen/page_alloc: introduce preserved page flags macro

2024-12-02 Thread Andrea Bastoni
Hi, On 29/11/2024 12:09, Jan Beulich wrote: > On 29.11.2024 10:32, Carlo Nonato wrote: >> Hi Jan, >> >> On Thu, Nov 28, 2024 at 12:05 PM Jan Beulich wrote: >>> >>> On 19.11.2024 15:13, Carlo Nonato wrote: PGC_static, PGC_extra and PGC_broken need to be preserved when assigning a page. D

Re: [PATCH v10 08/12] xen/page_alloc: introduce preserved page flags macro

2024-11-29 Thread Jan Beulich
On 29.11.2024 10:32, Carlo Nonato wrote: > Hi Jan, > > On Thu, Nov 28, 2024 at 12:05 PM Jan Beulich wrote: >> >> On 19.11.2024 15:13, Carlo Nonato wrote: >>> PGC_static, PGC_extra and PGC_broken need to be preserved when assigning a >>> page. Define a new macro that groups those flags and use it

Re: [PATCH v10 08/12] xen/page_alloc: introduce preserved page flags macro

2024-11-29 Thread Carlo Nonato
Hi Jan, On Thu, Nov 28, 2024 at 12:05 PM Jan Beulich wrote: > > On 19.11.2024 15:13, Carlo Nonato wrote: > > PGC_static, PGC_extra and PGC_broken need to be preserved when assigning a > > page. Define a new macro that groups those flags and use it instead of > > or'ing > > every time. > > > > To

Re: [PATCH v10 08/12] xen/page_alloc: introduce preserved page flags macro

2024-11-28 Thread Jan Beulich
On 19.11.2024 15:13, Carlo Nonato wrote: > PGC_static, PGC_extra and PGC_broken need to be preserved when assigning a > page. Define a new macro that groups those flags and use it instead of or'ing > every time. > > To make preserved flags even more meaningful, they are kept also when > switching