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

From: Daniel Jordan
Date: Mon Nov 05 2018 - 21:26:19 EST


On Mon, Nov 05, 2018 at 12:51:33PM -0800, Randy Dunlap wrote:
> 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.

Ok, will do. Thanks for pointing it out.