Koen Zandberg e1b810b613
core/sched: tiny logic optimization in idle case
In the case that the no_thread_idle feature is active, the
runqueue_bitcache is checked twice in the case no thread is available to
schedule. This changes the inner while loop to a do-while loop to save
one check from the initial loop iteration, saving a cycle or so in the
idle case.
2020-07-20 23:26:47 +02:00
..
2017-02-16 17:11:22 +01:00
2020-03-30 17:02:08 +02:00
2020-03-30 17:02:08 +02:00
2019-05-02 12:09:37 +02:00
2020-03-30 17:02:08 +02:00
2020-04-21 15:10:56 +02:00
2020-06-25 16:02:28 +02:00
2020-03-30 17:02:08 +02:00
2020-04-28 13:35:05 +02:00
2020-03-30 17:02:08 +02:00
2020-04-28 13:35:05 +02:00
2020-04-28 13:35:05 +02:00
2020-03-30 17:02:08 +02:00
2020-03-30 17:02:08 +02:00
2020-03-30 17:02:08 +02:00
2020-03-30 17:02:08 +02:00
2020-03-30 17:02:08 +02:00
2020-03-30 17:02:08 +02:00