On 02.12.2024 18:33, Carlo Nonato wrote: > Sorry guys, this patch is wrong. > Here's the correct one.
Which looks okay to me now, just that imo ... > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -161,6 +161,7 @@ > #endif > > #define PGC_no_buddy_merge PGC_static > +#define PGC_preserved (PGC_extra | PGC_static) ... this new #define now wants a comment, to clarify where the constant is to be used (or specifically not to be used). Unlike for PGC_no_buddy_merge this can't be easily deduced from the name. Jan
