This series came out of observations during the development of XSA-295. It has been tested on x86, but only compile tested on arm. It can be obtained in git form from:
http://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/xen-grant-status Andrew Cooper (5): xen/gnttab: Reduce complexity when reading grant_entry_header_t xen/gnttab: Reduce code volume when using union grant_combo arm/gnttab: Implement stub helpers as static inlines xen/gnttab: Refactor gnttab_clear_flag() to be gnttab_clear_flags() xen/gnttab: Fold adjacent calls to gnttab_clear_flags() xen/arch/arm/mm.c | 16 ---- xen/common/grant_table.c | 160 ++++++++++++++++++++------------------ xen/include/asm-arm/grant_table.h | 17 +++- xen/include/asm-x86/grant_table.h | 11 +-- 4 files changed, 104 insertions(+), 100 deletions(-) -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel