>>> On 03.05.16 at 23:46, <dario.faggi...@citrix.com> wrote:
> In fact, interrupts are already disabled when calling
> the hook from schedule_cpu_switch(), and hence using
> anything different than just spin_lock() is wrong (and
> ASSERT()-s in debug builds) or unnecessary.

Well, this is a little too broad a statement: spin_lock_irqsave()
would be quite fine in this situation.

> Signed-off-by: Dario Faggioli <dario.faggi...@citrix.com>

Actual code change
Reviewed-by: Jan Beulich <jbeul...@suse.com>


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

Reply via email to