[NTOS:KE] Skip an "optimization" on SMP

This commit is contained in:
Timo Kreuzer 2024-12-11 17:36:05 +02:00
parent fcb5d27141
commit 160bc8a0ce

View file

@ -307,6 +307,7 @@ KiDeferredReadyThread(IN PKTHREAD Thread)
Prcb = KiProcessorBlock[Processor]; Prcb = KiProcessorBlock[Processor];
KiAcquirePrcbLock(Prcb); KiAcquirePrcbLock(Prcb);
#ifndef CONFIG_SMP
/* Check if we have an idle summary */ /* Check if we have an idle summary */
if (KiIdleSummary) if (KiIdleSummary)
{ {
@ -319,6 +320,7 @@ KiDeferredReadyThread(IN PKTHREAD Thread)
KiReleasePrcbLock(Prcb); KiReleasePrcbLock(Prcb);
return; return;
} }
#endif // !CONFIG_SMP
/* Get the next scheduled thread */ /* Get the next scheduled thread */
NextThread = Prcb->NextThread; NextThread = Prcb->NextThread;