Re: [RFC][PATCH] ipc: mqueue: wq_add priority changed to dynamic priority

From: Steven Rostedt
Date: Mon Dec 11 2017 - 15:15:48 EST


On Mon, 11 Dec 2017 19:54:33 +0000
Jonathan Haws <jhaws@xxxxxxxxxxx> wrote:

> > Probably a better subject would be:
> >
> > Âipc: mqueue: Have RT tasks queue in by priority in wq_add()
>
> Is the best way to change that just to change it in the email thread or
> resubmit the patch as v2?

That, or whoever takes it could change it before they pull it into git.

>
> >
> > Other than that (and that this doesn't handle DL tasks),
> >
> > Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> >
> > -- Steve
> >
>
> I'm still new to kernel scheduling details - can you elaborate on what
> a DL task is?ÂÂI'm happy to update the patch to handle DL tasks as well
> if it makes sense to do so.

DL is a SCHED_DEADLINE task that has a dynamic priority that changes
over time. It's not a trivial task to compare them in these situations,
and they are currently not used much, and having DL tasks use this
queue is probably even more rare of an occurrence.

-- Steve