Re: [PATCH 2/7] sched/fair: Add group_misfit_task load-balance type
From: Peter Zijlstra
Date: Tue Feb 20 2018 - 08:04:20 EST
On Mon, Feb 19, 2018 at 02:56:44PM +0100, Peter Zijlstra wrote:
> On Thu, Feb 15, 2018 at 04:20:49PM +0000, Morten Rasmussen wrote:
> > @@ -6733,9 +6758,12 @@ done: __maybe_unused
> > if (hrtick_enabled(rq))
> > hrtick_start_fair(rq, p);
> >
> > + update_misfit_status(p, rq);
> > +
> > return p;
> >
> > idle:
> > + update_misfit_status(NULL, rq);
> > new_tasks = idle_balance(rq, rf);
> >
> > /*
>
> So we set a point when picking a task (or tick). We clear said pointer
> when idle.
N/m, I can't read today. You only store the load, not the actual task.