Messages in this thread | | | Date | Fri, 6 Oct 2017 10:51:49 +0200 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH 1/2] sched/rt: Add a helper to test for a RT task |
| |
On 2017-10-06 10:19:37 [+0200], Peter Zijlstra wrote: > > --- a/include/linux/sched/rt.h > > +++ b/include/linux/sched/rt.h > > @@ -17,6 +17,17 @@ static inline int rt_task(struct task_struct *p) > > return rt_prio(p->prio); > > } > > > > +static inline bool task_is_elevated(struct task_struct *tsk) > > Would you be terribly upset if I rename that? I'm thinking something > like task_is_realtime() better reflects what it does.
no, not at all.
Sebastian
| |