lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wjAC2+dCD6-DqyZOv_ew_WGqKGuXnb-7aaK4bb5Q6fFgw@mail.gmail.com>
Date: Thu, 7 Nov 2024 07:47:19 -1000
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: David Wang <00107082@....com>
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: Re: [PATCH] proc/softirqs: replace seq_printf with seq_put_decimal_ull_width

On Tue, 5 Nov 2024 at 16:13, David Wang <00107082@....com> wrote:
>
> seq_printf is costy, on a system with n CPUs, reading /proc/softirqs
> would yield 10*n decimal values, and the extra cost parsing format string
> grows linearly with number of cpus. Replace seq_printf with
> seq_put_decimal_ull_width have significant performance improvement.

Applied.

               Linus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ