Re: Regression: turbostat stops working after suspend/resume cycle
From: Gabriele Mazzotta
Date: Mon May 18 2015 - 03:12:46 EST
On Monday 18 May 2015 08:45:52 Ingo Molnar wrote:
>
> * Gabriele Mazzotta <gabriele.mzt@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > I've recently noticed that if I suspend and resume my laptop, I can no
> > longer execute turbostat. This is what I get when I try to start it:
> > # turbostat
> > Could not migrate to CPU 1
> > turbostat: re-initialized with num_cpus 4
> > Could not migrate to CPU 1
> >
> > Since everything works as expected with v4.0, I ran a bisection and
> > found that commit 3c18d447b3b36a8d ("sched/core: Check for available
> > DL bandwidth in cpuset_cpu_inactive()") is the cause of the regression.
> >
> > I don't know if there's something else affected by that change, but
> > I can consistently reproduce the bug with turbostat.
> >
> > I can provide more info if needed.
>
> Does this commit:
>
> 533445c6e533 sched/core: Fix regression in cpuset_cpu_inactive() for suspend
>
> which is already in Linus's tree, and which should be part of -rc4,
> fix it? Also attached below.
Yes, this fixes the problem, thanks. Sorry for not noticing it.
Gabriele
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/