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]
Date:   Wed, 6 Apr 2022 15:02:08 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Liao Chang <liaochang1@...wei.com>, mcgrof@...nel.org,
        keescook@...omium.org, yzaikin@...gle.com, tglx@...utronix.de,
        nitesh@...hat.com, edumazet@...gle.com, clg@...d.org,
        tannerlove@...gle.com, peterz@...radead.org, joshdon@...gle.com,
        masahiroy@...nel.org, nathan@...nel.org, vbabka@...e.cz,
        akpm@...ux-foundation.org, gustavoars@...nel.org, arnd@...db.de,
        chris@...isdown.name, dmitry.torokhov@...il.com,
        linux@...musvillemoes.dk, daniel@...earbox.net,
        john.ogness@...utronix.de, will@...nel.org, dave@...olabs.net,
        frederic@...nel.org
Cc:     linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
        heying24@...wei.com, guohanjun@...wei.com, weiyongjun1@...wei.com
Subject: Re: [RFC 1/3] softirq: Add two parameters to control CPU bandwidth
 for use by softirq

Hi--

On 4/5/22 19:27, Liao Chang wrote:
> diff --git a/init/Kconfig b/init/Kconfig
> index e9119bf54b1f..a63ebc88a199 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -2393,3 +2393,13 @@ config ARCH_HAS_SYNC_CORE_BEFORE_USERMODE
>  # <asm/syscall_wrapper.h>.
>  config ARCH_HAS_SYSCALL_WRAPPER
>  	def_bool n
> +
> +config SOFTIRQ_THROTTLE
> +	bool "Softirq Throttling Feature"
> +	help
> +	  Allow to allocate bandwidth for use by softirq handling. This
> +	  saftguard machanism is known as softirq throttling and is controlled

typos:
	  safeguard mechanism

> +	  by two parameters in the /proc/ file system:
> +
> +	  /proc/sysctl/kernel/softirq_period_ms
> +	  /proc/sysctl/kernel/softirq_runtime_ms

These should be documented in...
I guess    Documentation/admin-guide/sysctl/kernel.rst

thanks.
-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ