linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Add HAVE_IRQ_TIME_ACCOUNTING
@ 2017-05-19  5:46 Anton Blanchard
  2017-05-30  9:11 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2017-05-19  5:46 UTC (permalink / raw)
  To: benh, paulus, mpe, npiggin; +Cc: linuxppc-dev

From: Anton Blanchard <anton@samba.org>

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 <anton@samba.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: powerpc: Add HAVE_IRQ_TIME_ACCOUNTING
  2017-05-19  5:46 [PATCH] powerpc: Add HAVE_IRQ_TIME_ACCOUNTING Anton Blanchard
@ 2017-05-30  9:11 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2017-05-30  9:11 UTC (permalink / raw)
  To: Anton Blanchard, benh, paulus, npiggin; +Cc: linuxppc-dev

On Fri, 2017-05-19 at 05:46:41 UTC, Anton Blanchard wrote:
> From: Anton Blanchard <anton@samba.org>
> 
> 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 <anton@samba.org>

Applied to powerpc next, thanks.

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

cheers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-30  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19  5:46 [PATCH] powerpc: Add HAVE_IRQ_TIME_ACCOUNTING Anton Blanchard
2017-05-30  9:11 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).