Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1314335imu; Mon, 5 Nov 2018 18:26:58 -0800 (PST) X-Google-Smtp-Source: AJdET5c+i60rcVXk7QyPiiN9zaDPkHbFslm++YbsUnDSrTZ3Wx24TeAsNwJy87LRYtkN/rIyWQvg X-Received: by 2002:a63:5722:: with SMTP id l34mr13158011pgb.118.1541471218086; Mon, 05 Nov 2018 18:26:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541471218; cv=none; d=google.com; s=arc-20160816; b=Fn0NPIzYiw/oLGCvFkPjTTCVlplnSRXEZgF6haMDAiHXg9xrPhd+dPZ9jOq++hcUaN DZ3TrvfuNzMF8uM8wmvBY/tDDCCbuislaFrkopFKaWglO5jO3ngb+9yGetJ2tWqV282t WJb0n0TnNRcXxYFMM3ods8A0/VkTfZ1JLU9j3DNuIOQZVmNv2OPSY5wpqPss0hqlfKJS GnNAKAkoKj1LMm/Cs6QH78johRZ76Mr4sJQ2NzKS8AGynmbN32sxD7kplBlwWclSByjh Ap6iU8fL/M4wmE3yRWlUDcLH0aEeBZDag9bs5m045QRPALACXOzUUBCtqlrM236RdEVw 7QkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OiZhdXfYMZPfN+U8MbiUuowUoap0KsRR9d2K7U4iSGM=; b=gqTZY0pDfCtnP8x4YwC7HQMJ0Kw1RHX2wnyKG8bSGH2RT1PQ6kgVsWgKZdFGjIZwWz oMQAHndPg3j5rfkspIIBszQZoAKEB4/CkbbFQcTnHkj/s2QmAI/DMluWcnti6zzAFZI7 gEmCx+pwWRguAQTKZVx0RshIIaIc5Q5VbsKPj7FVG34cT/5wMDjcFPNmyZQSntF1iSIn Jwf6Ix3iUMpliYIudcgc8lQacwvLPZ+AKUn+B2JiwtGqYgMeLyIDJZFWI+1zQIVGrdyZ QshFKGbGDsAT5QlUdLWEpGjjbnV+fYEDVQUyLnm+EJ20S4krxzapXBCWABedGcPY+aDT B21Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=f0KFHvxs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1-v6si4402018plk.317.2018.11.05.18.26.43; Mon, 05 Nov 2018 18:26:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=f0KFHvxs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729319AbeKFLtG (ORCPT + 99 others); Tue, 6 Nov 2018 06:49:06 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:55460 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726389AbeKFLtG (ORCPT ); Tue, 6 Nov 2018 06:49:06 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wA62Nil1111251; Tue, 6 Nov 2018 02:24:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=OiZhdXfYMZPfN+U8MbiUuowUoap0KsRR9d2K7U4iSGM=; b=f0KFHvxsT0scblWlPHQ/dJKGW/9IbRqqughDHyGXzJ2RSk8LCweCJFsaS+HvPdKbwCza sB8UsnFljhEGvCRfiIlUvCnrTP1VLRqNiV4UvoiVrw9MH+JnvCGoE1Fx7IUnB4nN2kDs xlx9QPB5wihpnwk65zR9dPYgDOwvd5UudArEUGaZ5PcbGloI3YAHZZJk0HIuZpx/bcSM zOaOLJpE5+LKjjnFDXltx3MqLlKzkGkqhRNv3CU4QDzkNkf2KyXnZAHz0Bmp41E9X4cm uI38pOyavg87WVBatNQt+Ab6JuPwGBHZDYTXalOBdlK1QGToXRbDMriHo9NqKmuggsaO Ow== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2nh4aqjffy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 06 Nov 2018 02:24:46 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wA62OkfH021361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 6 Nov 2018 02:24:46 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wA62OjIU031350; Tue, 6 Nov 2018 02:24:45 GMT Received: from ca-dmjordan1.us.oracle.com (/10.211.9.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 05 Nov 2018 18:24:44 -0800 Date: Mon, 5 Nov 2018 18:24:51 -0800 From: Daniel Jordan To: Randy Dunlap Cc: Daniel Jordan , linux-mm@kvack.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, aarcange@redhat.com, aaron.lu@intel.com, akpm@linux-foundation.org, alex.williamson@redhat.com, bsd@redhat.com, darrick.wong@oracle.com, dave.hansen@linux.intel.com, jgg@mellanox.com, jwadams@google.com, jiangshanlai@gmail.com, mhocko@kernel.org, mike.kravetz@oracle.com, Pavel.Tatashin@microsoft.com, prasad.singamsetty@oracle.com, steven.sistare@oracle.com, tim.c.chen@intel.com, tj@kernel.org, vbabka@suse.cz Subject: Re: [RFC PATCH v4 02/13] ktask: multithread CPU-intensive kernel work Message-ID: <20181106022451.jry6nty6zsnpwq5e@ca-dmjordan1.us.oracle.com> References: <20181105165558.11698-1-daniel.m.jordan@oracle.com> <20181105165558.11698-3-daniel.m.jordan@oracle.com> <736b23a4-cb32-7926-101a-9b6555e59b5e@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <736b23a4-cb32-7926-101a-9b6555e59b5e@infradead.org> User-Agent: NeoMutt/20180323-268-5a959c X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9068 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811060017 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.