Re: [PATCH v6 09/15] xen/page_alloc: introduce preserved page flags macro

2024-02-01 Thread Jan Beulich
On 01.02.2024 15:49, Carlo Nonato wrote: > On Thu, Feb 1, 2024 at 3:24 PM Jan Beulich wrote: >> On 29.01.2024 18:18, Carlo Nonato wrote: >>> PGC_static and PGC_extra are flags that needs to be preserved when assigning >>> a page. Define a new macro that groups those flags and use it instead of

Re: [PATCH v6 09/15] xen/page_alloc: introduce preserved page flags macro

2024-02-01 Thread Carlo Nonato
Hi Jan, On Thu, Feb 1, 2024 at 3:24 PM Jan Beulich wrote: > > On 29.01.2024 18:18, Carlo Nonato wrote: > > PGC_static and PGC_extra are flags that needs to be preserved when assigning > > a page. Define a new macro that groups those flags and use it instead of > > or'ing every time. > > While

Re: [PATCH v6 09/15] xen/page_alloc: introduce preserved page flags macro

2024-02-01 Thread Jan Beulich
On 29.01.2024 18:18, Carlo Nonato wrote: > PGC_static and PGC_extra are flags that needs to be preserved when assigning > a page. Define a new macro that groups those flags and use it instead of > or'ing every time. While here you say where the "preserving" applies, ... > ---

[PATCH v6 09/15] xen/page_alloc: introduce preserved page flags macro

2024-01-29 Thread Carlo Nonato
PGC_static and PGC_extra are flags that needs to be preserved when assigning a page. Define a new macro that groups those flags and use it instead of or'ing every time. Signed-off-by: Carlo Nonato --- v6: - preserved_flags renamed to PGC_preserved - PGC_preserved is used only in assign_pages()