]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "perf: Add PM notifiers to fix CPU hotplug races"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Nov 2011 14:44:04 +0000 (07:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Nov 2011 14:44:04 +0000 (07:44 -0700)
commit8a21d26ef89e7360c4a176d83e8990e1ae2f2f3f
tree0bcf19fda146cb4afbdd6487218fb6ac16b80fcd
parent0d60afd6b7d004d2e8559b09120458455fb8e5e5
Revert "perf: Add PM notifiers to fix CPU hotplug races"

This reverts commit 59cc60ae8981f13b8ce40a6a52f862a9a1848566.

It causes a resume regression for Andi on his Acer Aspire 1830T post
3.1.  The screen just stays black after wakeup.

Also, it really looks like the wrong way to suspend and resume perf
events: I think they should be done as part of the CPU suspend and
resume, rather than as a notifier that does smp_call_function().

Reported-by: Andi Kleen <andi@firstfloor.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/events/core.c