Re: REGRESSION: "perf: Add PM notifiers ..." breaks resume

From: Ingo Molnar
Date: Thu Nov 03 2011 - 03:39:10 EST


* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Peter, Ingo, ping?
>
> Quite frankly, I'm inclined to revert that patch just for being
> horribly ugly and apparently broken regardless of the fact that it
> also causes a regression.
>
> *Notifiers* for doing something like this? smp_call_function?
> That's just utter sh*t, guys.
>
> If it is CPU state, then it should damn well be suspended and
> resumed as part of CPU suspend and resume. No IPI cross-calls to
> ask other CPU's to do random work, no crap like that.

Agreed, that's quite crappy.

> Comments? Should I just revert the thing (silence is obviously
> "yes" in cases like this where we are talking about regressions
> anyway)?

Yep, please revert it until we do the right fix. (I can queue up the
revert too)

Thanks,

Ingo
--
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/