Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: Re-order should_preempt() checks
Re-orders the checks in should_preempt() tests so that the z_is_thread_timeout_active() check is done last. This change has been observed to give a +7% performance boost on the thread_metric benchmark's preemptive scheduling test. Signed-off-by: Peter Mitsis <[email protected]>
- Loading branch information