[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for 4.7 1/4] xen: sched: avoid spuriously re-enabling IRQs in csched2_switch_sched()
>>> On 03.05.16 at 23:46, <dario.faggioli@xxxxxxxxxx> 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.faggioli@xxxxxxxxxx> Actual code change Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |