[PATCH 5/5 v2] x86/asm/entry/64: simplify looping around preempt_schedule_irq

2015-03-31 Thread Denys Vlasenko
At this label, we test whether interrupt/exception was in kernel. If it did, we jump to preemption check. If preemption does happen (IOW if we call preempt_schedule_irq), we go back to exit_intr. But it's pointless, we already know that test succeeded last time, preemption doesn't change the fact

[PATCH 5/5 v2] x86/asm/entry/64: simplify looping around preempt_schedule_irq

2015-03-31 Thread Denys Vlasenko
At this label, we test whether interrupt/exception was in kernel. If it did, we jump to preemption check. If preemption does happen (IOW if we call preempt_schedule_irq), we go back to exit_intr. But it's pointless, we already know that test succeeded last time, preemption doesn't change the fact