Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3815207pxu; Mon, 12 Oct 2020 01:41:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs64VAI8xo6BUJDx8OTmLNA3OkImi0OxzyQ3ZhRNWglznhAD9T7nLtP8PqUKsu5ZAO+zS1 X-Received: by 2002:a05:6402:1cbb:: with SMTP id cz27mr12649345edb.38.1602492082620; Mon, 12 Oct 2020 01:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602492082; cv=none; d=google.com; s=arc-20160816; b=cKzGZn4d+ZLvuP6D4DPPPNmoNpEcp2+Of2b7nEj3f8R6HcqDb8zP41peoKChxj+esf 0dcxcGQswKVkjVZif4TJ8Ruk/AxNdlNhAVdjIr+yevdDDJzw+MW8kmEcqxpUaD4DOb3g 5dhbbLKlrJASoAAxdaXhk90mbFfrtUrRiskZPqI7z/k8Ft48H4qhSRu5Da/ZgG6J48tt 5zRuqwJJs6MJbyMrqyLH+vNIM4k1x3YCDvZzZ9pLAFAVFTIGYmbshMGH+xqwWtWRxwBw 8gJ7v3l+ZuwUjAI9n262mPsrvAgY2VyMhDT7UgFSABD6PIWmWRuArSYRX8X2uC731X9+ etvA== 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=MP7g5iOate1XYIncqDkrh6RwKVx2Sm70PW0ZT6b92m4=; b=VohgZ3NrDQu+VNfihhqbWK9AOvWRMduAWt4Jpq9FSpbGXDWFMa2FmNsPjWA1Dk37gV 6uTSfBVAuovwrLqBvqvS874wiwHyeUO8MGXU2xN2gEcqOyoVC7Fth+SqsvIJY/vT4pN/ qy1WGF6zDHbggukPn3xswnZJaCy+cc/fjmwlOQwQ/Lh1x1faXTz8KSP7keEvPNBmDNoX FWfoQwtXiFyhO1Rdg4XCQ765VZwYye+uAk1mpLZcqHYVsIW6GhzXffg0K9K9CCYz7tR8 QtN08zSUlI8R0t6DCM6w69VncEdKxjakDE1wT4BzP9BUty7LII9HTL6/4VBDIjWlkHLG KAjw== 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 gt22si11839028ejb.571.2020.10.12.01.40.59; Mon, 12 Oct 2020 01:41:22 -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 S1727320AbgJLIjl (ORCPT + 99 others); Mon, 12 Oct 2020 04:39:41 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:5562 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbgJLIjl (ORCPT ); Mon, 12 Oct 2020 04:39:41 -0400 X-IronPort-AV: E=Sophos;i="5.77,366,1596492000"; d="scan'208";a="472083611" 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; 12 Oct 2020 10:39:39 +0200 Date: Mon, 12 Oct 2020 10:39:39 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Sumera Priyadarsini cc: michal.lkml@markovi.net, linux-doc@vger.kernel.org, Gilles.Muller@lip6.fr, corbet@lwn.net, nicolas.palix@imag.fr, linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr Subject: Re: [Cocci] [PATCH v4 3/3] Documentation: Coccinelle: Modify Parallelisation information in docs In-Reply-To: <15c5f36aea99a8947847a31cc0f982f9e829a12b.1602410019.git.sylphrenadin@gmail.com> Message-ID: References: <15c5f36aea99a8947847a31cc0f982f9e829a12b.1602410019.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 Sun, 11 Oct 2020, Sumera Priyadarsini wrote: > 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 Acked-by: Julia Lawall Jonathan, will you take this patch? thanks, julia > --- > 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 > > _______________________________________________ > Cocci mailing list > Cocci@systeme.lip6.fr > https://systeme.lip6.fr/mailman/listinfo/cocci >