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

[Xen-devel] [PATCH RFC for-next 0/4] Reimpliement {compat_, }create_bounce_frame() in C



Bloat-o-meter reports:
  add/remove: 1/1 grow/shrink: 0/1 up/down: 1211/-2587 (-1376)
  function                                     old     new   delta
  pv_create_exception_frame                      -    1211   +1211
  asm_domain_crash_synchronous                  65       -     -65
  context_switch                              3565    1043   -2522

but as the assembly symbols aren't tagged with type/size information, it can't
spot the removal of {compat_,}create_bounce_frame() at all.

This series is based on top of the "[PATCH for-4.9 0/2] x86/pv: Misc fixes"
series, which were discovered while developing this series.

Andrew Cooper (4):
  x86/pv: Drop int80_bounce from struct pv_vcpu
  x86/pv: Introduce pv_create_exception_frame()
  x86/pv: Drop {compat_,}create_bounce_frame() and use the C version instead
  x86/pv: Implement the failsafe callback using the general path

 xen/arch/x86/domain.c              | 102 ++--------------------
 xen/arch/x86/pv/traps.c            | 152 ++++++++++++++++++++++++++++++++
 xen/arch/x86/traps.c               |  27 ------
 xen/arch/x86/x86_64/asm-offsets.c  |   1 -
 xen/arch/x86/x86_64/compat/entry.S | 116 ++-----------------------
 xen/arch/x86/x86_64/compat/traps.c |   4 -
 xen/arch/x86/x86_64/entry.S        | 173 +++++++------------------------------
 xen/arch/x86/x86_64/traps.c        |  14 ---
 xen/include/asm-x86/domain.h       |   1 -
 xen/include/asm-x86/processor.h    |   3 +-
 xen/include/xen/sched.h            |   7 --
 11 files changed, 198 insertions(+), 402 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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