While a CPU executes the idle thread, it receives no cross-CPU TLB flush requests. Therefore, the TLB needs to get flushed when leaving the idle thread to compensate for any missed flush requests. Fixes ssumpf/foc#9.
While a CPU executes the idle thread, it receives no cross-CPU TLB flush requests. Therefore, the TLB needs to get flushed when leaving the idle thread to compensate for any missed flush requests. Fixes ssumpf/foc#9.