Home
last modified time | relevance | path

Searched refs:run_queue_bitmap (Results 1 – 2 of 2) sorted by relevance

/kernel/include/kernel/
A Dpercpu.h32 uint32_t run_queue_bitmap; member
61 static_assert(NUM_PRIORITIES <= sizeof(percpu[0].run_queue_bitmap) * CHAR_BIT, "");
/kernel/kernel/
A Dsched.cpp220 percpu[cpu].run_queue_bitmap |= (1u << t->effec_priority); in insert_in_run_queue_head()
230 percpu[cpu].run_queue_bitmap |= (1u << t->effec_priority); in insert_in_run_queue_tail()
246 c->run_queue_bitmap &= ~(1u << prio_queue); in remove_from_run_queue()
252 return HIGHEST_PRIORITY - __builtin_clz(c->run_queue_bitmap) - in highest_run_queue()
253 (sizeof(c->run_queue_bitmap) * CHAR_BIT - NUM_PRIORITIES); in highest_run_queue()
261 if (likely(c->run_queue_bitmap)) { in sched_get_top_thread()
273 c->run_queue_bitmap &= ~(1u << highest_queue); in sched_get_top_thread()

Completed in 8 milliseconds