Re: [PATCH] sched/rt: Introduce prio_lower() helper for comparing RT task prority

2018-11-08 Thread Muchun Song
Hi Peter, This is v2 patch. I'm sorry that I forgot to add the word "v2" to the subject. Yours, Muchun Song

Re: [PATCH] sched/rt: Introduce prio_lower() helper for comparing RT task prority

2018-11-08 Thread Muchun Song
Hi Peter, This is v2 patch. I'm sorry that I forgot to add the word "v2" to the subject. Yours, Muchun Song

[PATCH] sched/rt: Introduce prio_lower() helper for comparing RT task prority

2018-11-08 Thread Muchun Song
We use a value to represent the priority of the RT task. But a smaller value corresponds to a higher priority. If there are two RT task A and B, their priorities are prio_a and prio_b, respectively. If prio_a is larger than prio_b, which means that the priority of RT task A is lower than RT task

[PATCH] sched/rt: Introduce prio_lower() helper for comparing RT task prority

2018-11-08 Thread Muchun Song
We use a value to represent the priority of the RT task. But a smaller value corresponds to a higher priority. If there are two RT task A and B, their priorities are prio_a and prio_b, respectively. If prio_a is larger than prio_b, which means that the priority of RT task A is lower than RT task