From: Luca Miccio <206497@studenti.unimore.it> Date: Wed, 21 Aug 2019 14:18:45 +0000 (+0200) Subject: xen/arm: add colored flag to page struct X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e122ee6ad39edede10087567ee4eed5b9d2f9152;p=people%2Fsstabellini%2Fxen-unstable.git%2F.git xen/arm: add colored flag to page struct A new allocator enforcing a cache-coloring configuration is going to be introduced. We thus need to distinguish the memory pages assigned to, and managed by, such colored allocator from the ordinary buddy allocator's ones. Add a color flag to the page structure. Signed-off-by: Luca Miccio <206497@studenti.unimore.it> Signed-off-by: Marco Solieri --- diff --git a/xen/include/asm-arm/mm.h b/xen/include/asm-arm/mm.h index 6b4eef2dd2..92bd5c90b5 100644 --- a/xen/include/asm-arm/mm.h +++ b/xen/include/asm-arm/mm.h @@ -88,6 +88,10 @@ struct page_info */ u32 tlbflush_timestamp; }; + + /* Is page managed by the cache-colored allocator? */ + bool colored; + u64 pad; };