From: Vijay Kumar <vijay.ac.kumar@xxxxxxxxxx> Date: Sat, 8 Jul 2017 14:23:42 -0600 > cpu_poke is a low latency path to resume the target cpu if suspended > using cpu_yield. Use cpu poke to resume cpu if supported by hypervisor. > > hackbench results (lower is better): > Number of > Process: w/o fix with fix > 1 0.012 0.010 > 10 0.021 0.019 > 100 0.151 0.148 So this only works for a cpu which has yielded. The kernel sends reschedule events to both idle and non-idle cpus. That's why you have to have that fallback code to still send the mondo IPI right? For the case where POKE works, it seems like completely unnecessary overhead to set the PIL interrupt. Just disable local cpu interrupts and call schedule_ipi() directly. I bet that improves your benchmark even more. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html