Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3477163pxu; Sun, 11 Oct 2020 11:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+Z6KmVCl50POQNcXOS9qnIjwjdX+ScgITb0eNASc474XhaCFF0LMxM8cOgkrxCwiOB5Cz X-Received: by 2002:a17:906:53d7:: with SMTP id p23mr24087464ejo.232.1602439518912; Sun, 11 Oct 2020 11:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439518; cv=none; d=google.com; s=arc-20160816; b=BU6LGsPzv8Kvlx/RTnRC6QYp+F8+NHmOdGtyoCtUe2p8Xe6kzg2g1WLQKaroA1+K+f p/elSE45EOwEb2BJc9e8RnOAcJ4BR/RRdQgIiAdj09uqTS083yBZQ9gUoQ2zLoYK4V8h /45zq3x3qQYx06MexTlYSXJjxxtIDAzsWJ1tE5TxZLkV5nQCHDBxRa6yG4TQIrMk3PLi QvnlDuC2nUPMt3KKlHwtvpITMa+vRO4l+OSkrtNacv/c48au4gZt6l0KTKqsxkJpoeHY C2BY1GRT2Gz05LTHtr0Mci9NG8j/MUnImA0Gal7c2sUXwIi7DLQ2z29j5wbRxvMJASCa ztXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qUbbonkvmJI/PJT7XYEgXBBQWmM8xuj/vukAq6acOQg=; b=oehCfSvFDEbe5gMicr+IuDW5LsxD1ENedfg0TAfTQVtAU9ts4mQuoAecGfdLai+HL2 FR3q/yNl2qPcgxDOiWj8VRUOu1ldWztDKb3+suhmhWABf3tbDxNKdBlw4VNMdbsmVC9D SL38tdpApvt2HqYi+K6L056K3BRLKWwEpReKMDLdDyB86V1JeCKaTbLxbfczoqmbdYzj hI5ETpgyBJrqkcRl/7N7OYnxpFJaF1WunUDwoSywSodBMURSTEQ9zUKf/tMctj4b2g+q voKpP5cXatdp03z2XCFjNUojZfnK9KzAE22YmqQhZWf6Z/8u49m1b+bc9PSgIfk+R+HP o+TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=atsoKcpA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm9si11208843edb.76.2020.10.11.11.04.56; Sun, 11 Oct 2020 11:05:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=atsoKcpA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729733AbgJKKbN (ORCPT + 99 others); Sun, 11 Oct 2020 06:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729624AbgJKKbN (ORCPT ); Sun, 11 Oct 2020 06:31:13 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43421C0613CE; Sun, 11 Oct 2020 03:31:13 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id o9so6858829plx.10; Sun, 11 Oct 2020 03:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qUbbonkvmJI/PJT7XYEgXBBQWmM8xuj/vukAq6acOQg=; b=atsoKcpA55UYV64jggSZrb3ULedRugy+lwNE37vqe1BPXujehi9wIVO6s5gtd1aAjQ 1MQS2/rZxlgFbxPlefPOvfzfppp35hW7slcDPoQEpR2Vvvws9ZOS2aFckB5PlEBU5UJS JexYM7AyCjrDzwRy0m5HmpiUxJeeMBll8VJ58tlVf6/Lpv7Y82EeUeIRUmxXF4t/rZLe BI4tovth7mP+qWSdG1heminPKTiq81HpeGMbagfXaB9AA/7xkIVnvHis/UD033ArHl0N mywJmKyowxhfA7H9Ovl8dECZPBZeOEaypg57/D37Ho/lzdUokDRpAOaigniDMMHfHe3O rYzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qUbbonkvmJI/PJT7XYEgXBBQWmM8xuj/vukAq6acOQg=; b=gpSmiibc4vg+8og8fT+NaEZZX4e5S0QZZzHMKZzEWI1y5qPbZea4D7x4BA0RfmNk25 JfqOaWtL+A4AxFXymaNQNVR6r9S5Viu89Fw/+TXd3IPpqeqNowMHPBGwBDzYJ2wKKZWo Ci9qx6RksYUiaHwhsb0lhA4Hcq1jciF45TRa3CQs2s+hHbvAK7fv9oei29I/jn7kuh41 u/y565o6S+DezOcJiXM2HUzS6m22K8fpKUJo1ZCK1ZGyWLG3qLM97NesWHTK6PccMw54 1Ww/5/bglZwWxsyPPl4sjaKx4M0BKrj8j361gKPYh2UpU/TqjIGTknwPezzMKygWJh2h qz3g== X-Gm-Message-State: AOAM531ZHgkpUHzZjC7lMM88KUdcGU4y2cXRXWigICB8+UzdxS1FQHTl qiODNYnVtAQo1YkSOwBPviQ= X-Received: by 2002:a17:902:8202:b029:d2:2f2a:6712 with SMTP id x2-20020a1709028202b02900d22f2a6712mr19441292pln.15.1602412272824; Sun, 11 Oct 2020 03:31:12 -0700 (PDT) Received: from adolin ([49.207.215.73]) by smtp.gmail.com with ESMTPSA id o4sm4394694pjj.38.2020.10.11.03.31.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 03:31:12 -0700 (PDT) Date: Sun, 11 Oct 2020 16:01:07 +0530 From: Sumera Priyadarsini To: Julia.Lawall@lip6.fr Cc: corbet@lwn.net, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, michal.lkml@markovi.net, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH v4 3/3] Documentation: Coccinelle: Modify Parallelisation information in docs Message-ID: <15c5f36aea99a8947847a31cc0f982f9e829a12b.1602410019.git.sylphrenadin@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset modifies coccicheck to use at most one thread per core by default in machines with more than 4 hyperthreads for optimal performance. Modify documentation in coccinelle.rst to reflect the same. Signed-off-by: Sumera Priyadarsini --- Documentation/dev-tools/coccinelle.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/dev-tools/coccinelle.rst b/Documentation/dev-tools/coccinelle.rst index 74c5e6aeeff5..530d8d313601 100644 --- a/Documentation/dev-tools/coccinelle.rst +++ b/Documentation/dev-tools/coccinelle.rst @@ -130,8 +130,10 @@ To enable verbose messages set the V= variable, for example:: Coccinelle parallelization -------------------------- -By default, coccicheck tries to run as parallel as possible. To change -the parallelism, set the J= variable. For example, to run across 4 CPUs:: +By default, coccicheck uses at most 1 thread per core in a machine +with more than 4 hyperthreads. In a machine with upto 4 threads, +all threads are used. To change the parallelism, set the J= variable. +For example, to run across 4 CPUs:: make coccicheck MODE=report J=4 -- 2.25.1