Acked-by: Keir Fraser <keir@xen.org>- 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>