]> xenbits.xensource.com Git - xen.git/commit
x86: defer processing events on the NMI exit path
authorJan Beulich <jbeulich@suse.com>
Mon, 4 Mar 2013 09:19:34 +0000 (10:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 Mar 2013 09:19:34 +0000 (10:19 +0100)
commitd463b005bbd6475ed930a302821efe239e1b2cf9
tree32515ad83274734890878d6f995b288c35b26efd
parente6a6fd63652814e5c36a0016c082032f798ced1f
x86: defer processing events on the NMI exit path

Otherwise, we may end up in the scheduler, keeping NMIs masked for a
possibly unbounded period of time (until whenever the next IRET gets
executed). Enforce timely event processing by sending a self IPI.

Of course it's open for discussion whether to always use the straight
exit path from handle_ist_exception.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S