Re: regression since 4.8 and newer in select_idle_siblings()

From: Igor Mammedov
Date: Tue Oct 18 2016 - 10:52:58 EST


On Tue, 18 Oct 2016 16:02:07 +0200
Mike Galbraith <efault@xxxxxx> wrote:

> On Tue, 2016-10-18 at 15:40 +0200, Igor Mammedov wrote:
> > kernel crashes at runtime due null pointer dereference at
> > select_idle_sibling()
> > -> select_idle_cpu()
> > ...
> > u64 avg_cost = this_sd->avg_scan_cost;
> >
> > regression bisects to:
> > commit 10e2f1acd0106c05229f94c70a344ce3a2c8008b
> > Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > sched/core: Rewrite and improve select_idle_siblings()
>
> http://git.kernel.org/tip/9cfb38a7ba5a9c27c1af8093fb1af4b699c0a441

Thanks, above patch fixes issue for me.

> Already fixed, and will land in Linus' tree soon.
>
> -Mike