Re: [RFC PATCH v4 02/13] ktask: multithread CPU-intensive kernel work

From: Randy Dunlap
Date: Mon Nov 05 2018 - 15:51:55 EST


On 11/5/18 8:55 AM, Daniel Jordan wrote:
> diff --git a/init/Kconfig b/init/Kconfig
> index 41583f468cb4..ed82f76ed0b7 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -346,6 +346,17 @@ config AUDIT_TREE
> depends on AUDITSYSCALL
> select FSNOTIFY
>
> +config KTASK
> + bool "Multithread CPU-intensive kernel work"
> + depends on SMP
> + default y
> + help
> + Parallelize CPU-intensive kernel work. This feature is designed for
> + big machines that can take advantage of their extra CPUs to speed up
> + large kernel tasks. When enabled, kworker threads may occupy more
> + CPU time during these kernel tasks, but these threads are throttled
> + when other tasks on the system need CPU time.

Use tab + 2 spaces consistently for help text indentation, please.

> +
> source "kernel/irq/Kconfig"
> source "kernel/time/Kconfig"
> source "kernel/Kconfig.preempt"


--
~Randy