]> asedeno.scripts.mit.edu Git - linux.git/commit
Powerpc/perf: Wire up PMI throttling
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Wed, 21 Nov 2018 03:56:37 +0000 (09:26 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Dec 2018 00:32:49 +0000 (11:32 +1100)
commit0c9108b083706330cd5484d121fbb0ad67e8f647
tree7c7a1dbb8c5a2cc06a764bb3caa8fadde0415a45
parentc20577014f85f36d4e137d3d52a1f61225b4a3d2
Powerpc/perf: Wire up PMI throttling

Commit 14c63f17b1fde ("perf: Drop sample rate when sampling is too
slow") introduced a way to throttle PMU interrupts if we're spending
too much time just processing those. Wire up powerpc PMI handler to
use this infrastructure.

We have throttling of the *rate* of interrupts, but this adds
throttling based on the *time taken* to process the interrupts.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/core-book3s.c