xen/domain: Annotate struct domain as page aligned

struct domain is always a page aligned allocation.  Update it's type to
reflect this, so we can safely reuse the lower bits in the pointer for
auxiliary information.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Andrew Cooper committed 2025-03-07 14:34:08 +00:00
1 parent 5b7ac8d863
commit 8c12e47a5d
1 file changed
+1 -1
+1 -1
View File
@@ -651,7 +651,7 @@ struct domain
unsigned int num_llc_colors;
const unsigned int *llc_colors;
#endif
};
} __aligned(PAGE_SIZE);
static inline struct page_list_head *page_to_list(
struct domain *d, const struct page_info *pg)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.