[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/3] x86: Don't pass bootstrap_map() by function pointer



This series is presented on its code-hygene argument alone.

However, it should be noted that compiler-based mitigations for SP2 do
increase the overhead of indirect branches, and even just on the boot path,
its wasteful to needlessly take the overhead.

It should be noted that this series texturally collides with both the PV-shim
and Vixen series, because of the changes in contstruct_dom*() prototypes.

Andrew Cooper (3):
  x86/boot: Export bootstrap_map() for use in other translation units
  x86/xsm: Use the exported bootstrap_map() function
  x86/microcode: Use the exported bootstrap_map() function

 xen/arch/x86/dom0_build.c        |  3 +--
 xen/arch/x86/hvm/dom0_build.c    |  1 -
 xen/arch/x86/microcode.c         | 20 ++++++++------------
 xen/arch/x86/pv/dom0_build.c     |  1 -
 xen/arch/x86/setup.c             |  9 ++++-----
 xen/include/asm-x86/dom0_build.h |  2 --
 xen/include/asm-x86/setup.h      |  4 ++--
 xen/include/xsm/xsm.h            |  7 ++-----
 xen/xsm/xsm_core.c               |  9 ++++++---
 xen/xsm/xsm_policy.c             |  2 +-
 10 files changed, 24 insertions(+), 34 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.