Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2593362pxk; Sun, 27 Sep 2020 13:57:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDfd4r2HeyOM289SvsBUOBNwRIr/Fb3tRyZ3mXmMUI5q0z7p0f7wNaaIs9rOLrxDALK2wX X-Received: by 2002:a17:906:8399:: with SMTP id p25mr12508542ejx.243.1601240224691; Sun, 27 Sep 2020 13:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601240224; cv=none; d=google.com; s=arc-20160816; b=Yu16mrrE4z/riIGIHS4N8HYHKPBsK+VI+QmiJdXNoqcWkMbnFwH3zT3+iII19KVWqI UdJKs/pcR3jQCaKiPqGOdc2cH379TBO3oNWqqGcKuHns3HcZdV4sXjcH4HTNXwvonC3H 35+mZvcb0klnKcXsVUP3JgJ7Eij1h9c27JDgnhOZIAU092XLC2uuDEO+55wU/IyNJ45x dbkYWqtU6tkqLJpapgRSpn1kiCtQGEJY/VUglG5JaEvUdwrQsIYuWJVoR4IqIfGXaKgc lQM1sjTo7sGSkVf0NyaU2pVa/kVKqNviq4XLr0QHGfZ1sIedgYgw1KgSq1DxrjI+9HHZ MHOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=RMO9rcsywd9mvsqRlsA7s15pYVQ5dNd/G5ByYyAdBsY=; b=dASpRvls99TCb8LkyhatHNbAPTzdKJuAFjYuuhcclsHJDvzIlNCTTEaCCAmou7VFWZ ew9IFKUH95UNBITlHxknSg3LZa0xdsKXRZBPYbe5yHizc4HA7PNIPp2mwu3uU3OHljp7 jbqu7zKfjREAs7OzrvD9cO1I1V3qE2YwgPEoWFbgiMZWRNy9SDr7tIb4Mnu9u5aqFWo2 +ZlHN4B7guhTbxEWETkG1p2rjD2bvH0AaPG4m9IvuvzTr4xcGJAL5ykvaFsOotqoNsOG qNSeQ/SyhfXX7QvS43sf8/jnJPKVgKWs+qhWhP/u3vrBqHX88vi57vaK5+6b8IXfebhZ QF+A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si6052447ejd.718.2020.09.27.13.56.41; Sun, 27 Sep 2020 13:57:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726421AbgI0UzV (ORCPT + 99 others); Sun, 27 Sep 2020 16:55:21 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:4792 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbgI0UzT (ORCPT ); Sun, 27 Sep 2020 16:55:19 -0400 X-IronPort-AV: E=Sophos;i="5.77,311,1596492000"; d="scan'208";a="469746005" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2020 22:55:17 +0200 Date: Sun, 27 Sep 2020 22:55:17 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Sumera Priyadarsini cc: corbet@lwn.net, michal.lkml@markovi.net, Gilles.Muller@lip6.fr, linux-doc@vger.kernel.org, nicolas.palix@imag.fr, linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr Subject: Re: [Cocci] [PATCH 2/2] Documentation: Coccinelle: Modify parallelisation information in docs In-Reply-To: <3ecfe0e7f95021525b7bbf783a45eb3a176791a9.1600945451.git.sylphrenadin@gmail.com> Message-ID: References: <3ecfe0e7f95021525b7bbf783a45eb3a176791a9.1600945451.git.sylphrenadin@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Sep 2020, Sumera Priyadarsini wrote: > This patchset modifies coccicheck to use at most one thread per core by > default for optimal performance. Modify documentation in coccinelle.rst > to reflect the same. It would be good for the documentation to mention that this only occurs if the machine has more than two cores (and more than 4 hardware threads). julia > > Signed-off-by: Sumera Priyadarsini > --- > Documentation/dev-tools/coccinelle.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/dev-tools/coccinelle.rst b/Documentation/dev-tools/coccinelle.rst > index 74c5e6aeeff5..a27a4867018c 100644 > --- a/Documentation/dev-tools/coccinelle.rst > +++ b/Documentation/dev-tools/coccinelle.rst > @@ -130,8 +130,8 @@ 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 only one thread per core of the system. > +To change the parallelism, set the J= variable. For example, to run across 4 CPUs:: > > make coccicheck MODE=report J=4 > > -- > 2.25.1 > > _______________________________________________ > Cocci mailing list > Cocci@systeme.lip6.fr > https://systeme.lip6.fr/mailman/listinfo/cocci >