Kernel: Reschedule if idle after IPI

This allows starting thread execution right after thread is received
from load balancing
This commit is contained in:
Bananymous 2025-08-05 00:09:12 +03:00
parent a51b589bc9
commit 1cc0fb9c01
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ namespace Kernel
ASSERT(InterruptController::get().is_in_service(IRQ_IPI - IRQ_VECTOR_BASE));
InterruptController::get().eoi(IRQ_IPI - IRQ_VECTOR_BASE);
Processor::handle_ipi();
Processor::scheduler().reschedule_if_idle();
}
extern "C" void cpp_timer_handler()