2009년 11월 19일 목요일

struct rt_rq

  486 /* Real-Time classes' related field in a runqueue: */
  487 struct rt_rq {
  488     struct rt_prio_array active;
  489     unsigned long rt_nr_running;
  490 #if defined CONFIG_SMP || defined CONFIG_RT_GROUP_SCHED
  491     struct {
  492         int curr; /* highest queued rt task prio */
  493 #ifdef CONFIG_SMP
  494         int next; /* next highest */
  495 #endif
  496     } highest_prio;
  497 #endif
  498 #ifdef CONFIG_SMP
  499     unsigned long rt_nr_migratory;
  500     unsigned long rt_nr_total;
  501     int overloaded;
  502     struct plist_head pushable_tasks;
  503 #endif
  504     int rt_throttled;
  505     u64 rt_time;
  506     u64 rt_runtime;
  507     /* Nests inside the rq lock: */
  508     spinlock_t rt_runtime_lock;
  509
  510 #ifdef CONFIG_RT_GROUP_SCHED
  511     unsigned long rt_nr_boosted;
  512
  513     struct rq *rq;
  514     struct list_head leaf_rt_rq_list;
  515     struct task_group *tg;
  516     struct sched_rt_entity *rt_se;
  517 #endif

  518 };

댓글 없음:

댓글 쓰기