Re: [RFC 1/3] softirq: Add two parameters to control CPU bandwidth for use by softirq

From: Randy Dunlap
Date: Wed Apr 06 2022 - 18:03:21 EST


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