Re: [PATCH v5 08/13] xen/page_alloc: introduce preserved page flags macro

2024-01-12 Thread Jan Beulich
On 12.01.2024 11:01, Carlo Nonato wrote: > On Mon, Jan 8, 2024 at 6:08 PM Jan Beulich wrote: >> On 02.01.2024 10:51, 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 v5 08/13] xen/page_alloc: introduce preserved page flags macro

2024-01-12 Thread Carlo Nonato
Hi Jan, On Mon, Jan 8, 2024 at 6:08 PM Jan Beulich wrote: > > On 02.01.2024 10:51, 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. > > > > The

Re: [PATCH v5 08/13] xen/page_alloc: introduce preserved page flags macro

2024-01-08 Thread Jan Beulich
On 02.01.2024 10:51, 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. > > The new macro is used also in free_heap_pages() allowing future commits to >

[PATCH v5 08/13] xen/page_alloc: introduce preserved page flags macro

2024-01-02 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. The new macro is used also in free_heap_pages() allowing future commits to extended it with other flags that must stop merging,