rt_rq是Linux内核为实时进程设计的就绪队列,当然它是为实时调度类准备的就绪队列: /* Real-Time classes' related field in a runqueue: */struct rt_rq { struct rt_prio_array active; unsigned int rt_nr_running; unsigned int rr_nr_runnin
rq是描述就绪队列,其设计为每个cpu一个就绪队列,本地进程在本地队列上排序: /** This is the main, per-CPU runqueue data structure.** Locking rule: those places that want to lock multiple runqueues* (such as the load balancing or th