Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too
From: Peter Zijlstra
Date: Wed Mar 01 2017 - 11:45:52 EST
On Wed, Mar 01, 2017 at 11:19:22AM -0500, Steven Rostedt wrote:
> On Wed, 1 Mar 2017 17:03:52 +0100
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote:
> > > Peter, do we have a solution for this yet? Are you going to add the one
> > > with the linker magic?
> >
> > I queued the below earlier today.
>
> Isn't this pretty much identical to the patch I sent you a month ago?
>
> http://lkml.kernel.org/r/20170119101703.2abeaeb6@xxxxxxxxxxxxxxxxxx
Yes, except this one has a comment explaining why we care about
prev->sched_class.