lkml.org 
[lkml]   [2018]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:sched/core] sched/rt: Simplify the IPI based RT balancing logic
On Sat, 20 Jan 2018 00:27:56 +0530
Pavan Kondeti <pkondeti@codeaurora.org> wrote:

> Hi Steve,
>
> Thanks for the patch.
>
> On Fri, Jan 19, 2018 at 01:12:54PM -0500, Steven Rostedt wrote:
> > On Fri, 19 Jan 2018 13:11:21 -0500
> > Steven Rostedt <rostedt@goodmis.org> wrote:
> >
> > > void rto_push_irq_work_func(struct irq_work *work)
> > > {
> > > + struct root_domain *rd =
> > > + container_of(work, struct root_domain, rto_push_work);
> > > struct rq *rq;
> >
> > Notice that I also remove the dependency on rq from getting the rd.
> >
>
> Nice. This snippet it self solves the original problem, I reported.
> I will test your patch and let you know the results.
>
>

I'll break the patch up into two then. One with this snippet, and the
other with the rd ref counting.

-- Steve

\
 
 \ /
  Last update: 2018-01-19 20:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog