Jan Beulich
4 March 2014 11:21
- never preempt on the first iteration (ensure forward progress)
- never preempt on the last iteration (pointless/wasteful)
- do cheap checks first

1: common: make hypercall preemption checks consistent
2: x86: make hypercall preemption checks consistent

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Keir Fraser <keir@xen.org>