[PATCH] powerpc: Add HAVE_IRQ_TIME_ACCOUNTING

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3389d

2 messages, 2 authors, 2017-05-30 · open the first message on its own page

[PATCH] powerpc: Add HAVE_IRQ_TIME_ACCOUNTING

From: Anton Blanchard <hidden>
Date: 2017-05-19 05:46:49

From: Anton Blanchard <redacted>

Allow us to enable IRQ_TIME_ACCOUNTING. Even though we currently
use VIRT_CPU_ACCOUNTING_NATIVE, that option is quite heavy
weight and IRQ_TIME_ACCOUNTING might be better in some cases.

Signed-off-by: Anton Blanchard <redacted>
---
 arch/powerpc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index f7c8f9972f61..d090275ace44 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -208,6 +208,7 @@ config PPC
 	select HAVE_REGS_AND_STACK_ACCESS_API
 	select HAVE_SYSCALL_TRACEPOINTS
 	select HAVE_VIRT_CPU_ACCOUNTING
+	select HAVE_IRQ_TIME_ACCOUNTING
 	select IRQ_DOMAIN
 	select IRQ_FORCED_THREADING
 	select MODULES_USE_ELF_RELA
-- 
2.11.0

Re: powerpc: Add HAVE_IRQ_TIME_ACCOUNTING

From: Michael Ellerman <hidden>
Date: 2017-05-30 09:11:27

On Fri, 2017-05-19 at 05:46:41 UTC, Anton Blanchard wrote:
From: Anton Blanchard <redacted>

Allow us to enable IRQ_TIME_ACCOUNTING. Even though we currently
use VIRT_CPU_ACCOUNTING_NATIVE, that option is quite heavy
weight and IRQ_TIME_ACCOUNTING might be better in some cases.

Signed-off-by: Anton Blanchard <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/518470fe962e23ca69a818e1e507eb

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help