kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.

This commit is contained in:
bunnei 2021-01-19 21:08:35 -08:00
parent 1f99f5473c
commit 1772ebeb1e

View File

@ -21,7 +21,7 @@ class KernelCore;
class SchedulerLock;
using KSchedulerPriorityQueue =
KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority + 1,
KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority,
Svc::HighestThreadPriority>;
static constexpr s32 HighestCoreMigrationAllowedPriority = 2;