The following symbols(variables) are defined in task_struct in
<kernel/sched.c>
- counter
- priority
- rt_priority
and
- sched_priority ( in sched_param )
.
What the exact meaning of each symbol ?
As far as I know, the 'counter' is for dynamic priority ( by goodness() ) ,
and
priority is somewhat static ( according to the scheduling class ,
e.g. SCHED_OTHER,SCHED_RR,and SCHED_FIFO. )
That's all I know and I want to know more .
Can you tell me the relations between these symbols ?
Can you tell me the mechanism for the tasks' priority and for real-time
tasks ?
I want to know precisely the priority mechanism in Linux .
I really need your help .
Thanks in advance .
- Lee -