On 09/07/19(Tue) 14:29, Alexandre Ratchov wrote: > [...] > Why do you want to differenciate sleeping priorities from running > priorities?
To be able to simplify the scheduler logic. Sleeping priorities are something we could question. But by doing this separation it makes it simpler to get rid of/refactor the multiple places that do: if (p->p_priority >= PUSER) ... You can look at my big scheduler change if you want to see the details. I'm currently splitting it in reviewable pieces x)