Files
haiku-beta6/src/system/kernel/scheduler
Augustin Cavalier 37df18e183 kernel/scheduler: Properly handle thread masks not being set.
There was a missing case in reschedule(). Also fix a copy/paste
error in the power_saving logic.

This also slightly optimizes things by having an unset CPU mask
turn into a boolean and be processed separately, avoiding
loops and masks entirely in that case.

Have CPU masks be unset by default for new threads, while at it.

Change-Id: Ic5d000a72839448a2d025cfc99de1ed49c841852
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7900
Reviewed-by: waddlesplash <[email protected]>
2024-07-25 21:29:52 +00:00
..