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

[Xen-ia64-devel][PATCH]Build new infrastructure for fast fault handling path.


  • To: "Alex Williamson" <alex.williamson@xxxxxx>, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Thu, 8 May 2008 16:51:56 +0800
  • Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 08 May 2008 01:52:22 -0700
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: Aciw6MUmZF4BdUMQS+ua6r+Zg3lQXQ==
  • Thread-topic: [Xen-ia64-devel][PATCH]Build new infrastructure for fast fault handling path.

Build new infrastructure for fast fault handling path.

1. use jump table to dispatch virtualization faults.
2. for virtualization faults, handler is executed with psr.i=0,
psr.ic=0, psr.bn=0.
        less context switch.
3. use register stack instead of memory stack to switch context.
4. Use C code to handle faults as possible, to reduce maintanance
efforts, 
        remove assembly handlers for rsm , ssm, mov to psr, mov to rr.
5. add fast path C handler for rsm, ssm, mov to psr, rfi.


Signed-off-by, Anthony Xu < anthony.xu@xxxxxxxxx >




Get some performance data on KB and sysbench, no explicit change.

While can move more handlers to this fast path.


Thanks,
Anthony

Attachment: 20080508.patch
Description: 20080508.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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