lkml.org 
[lkml]   [2017]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2017-10-06 10:52    [W:0.047 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site