[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173395636600.1729195.17930169527159894833.git-patchwork-notify@kernel.org>
Date: Wed, 11 Dec 2024 22:32:46 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: David Wang <00107082@....com>
Cc: linux-riscv@...ts.infradead.org, tglx@...utronix.de,
richard.henderson@...aro.org, linux@...linux.org.uk, catalin.marinas@....com,
will@...nel.org, guoren@...nel.org, chenhuacai@...nel.org, kernel@...0n.name,
James.Bottomley@...senPartnership.com, deller@....de, mpe@...erman.id.au,
paul.walmsley@...ive.com, ysato@...rs.sourceforge.jp, dalias@...c.org,
glaubitz@...sik.fu-berlin.de, davem@...emloft.net, andreas@...sler.com,
mingo@...hat.com, bp@...en8.de, dave.hansen@...ux.intel.com, x86@...nel.org,
chris@...kel.net, jcmvbkbc@...il.com, linux-kernel@...r.kernel.org,
linux-alpha@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-csky@...r.kernel.org, loongarch@...ts.linux.dev,
linux-parisc@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-sh@...r.kernel.org, sparclinux@...r.kernel.org
Subject: Re: [PATCH] kernel/irq/proc: performance: replace seq_printf with
seq_put_decimal_ull_width
Hello:
This patch was applied to riscv/linux.git (fixes)
by Michael Ellerman <mpe@...erman.id.au>:
On Sun, 3 Nov 2024 16:05:52 +0800 you wrote:
> seq_printf is costy, when stress reading /proc/interrupts, profiling indicates
> seq_printf takes about ~47% of show_interrupts samples:
>
> show_interrupts(94.495% 5166019/5466991)
> seq_printf(47.429% 2450210/5166019)
> vsnprintf(89.232% 2186366/2450210)
> format_decode(24.005% 524831/2186366)
> number(19.488% 426084/2186366)
> memcpy_orig(3.739% 81753/2186366)
> ...
> _raw_spin_unlock_irqrestore(26.643% 1376379/5166019)
> mtree_load(8.059% 416304/5166019)
>
> [...]
Here is the summary with links:
- kernel/irq/proc: performance: replace seq_printf with seq_put_decimal_ull_width
https://git.kernel.org/riscv/c/5b881c1f8379
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists