[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 2/9] xen/arm: introduce PGC_reserved
Hi Penny, On 07/06/2021 03:43, Penny Zheng wrote: In order to differentiate pages of static memory, from those allocated from heap, this patch introduces a new page flag PGC_reserved to tell. I would prefer if this patch is folded in the patch first using it. This will be easier to understand how this flag will be used. Cheers, Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx> --- changes v2: - remove unused reserved field in struct page_info - remove unused helper page_get_reserved_owner and page_set_reserved_owner --- xen/include/asm-arm/mm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h index 0b7de3102e..7034fae1b6 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -108,6 +108,9 @@ struct page_info /* Page is Xen heap? */ #define _PGC_xen_heap PG_shift(2) #define PGC_xen_heap PG_mask(1, 2) + /* Page is reserved */ +#define _PGC_reserved PG_shift(3) +#define PGC_reserved PG_mask(1, 3) /* ... */ /* Page is broken? */ #define _PGC_broken PG_shift(7) -- Julien Grall
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |