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]>