]> git.baikalelectronics.ru Git - kernel.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)
commitff081792b4ae66e9a6243b155cb86d47cac57407
tree7c7a1dbb8c5a2cc06a764bb3caa8fadde0415a45
parentcb453de3006280d68c8c6970ee3f84d6d2812400
Powerpc/perf: Wire up PMI throttling

Commit 4d2e7f4fd5324 ("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