From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933554AbbI1MnD (ORCPT ); Mon, 28 Sep 2015 08:43:03 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:44355 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932692AbbI1MnA (ORCPT ); Mon, 28 Sep 2015 08:43:00 -0400 X-IronPort-AV: E=Sophos;i="5.17,602,1437429600"; d="scan'208";a="179752057" Date: Mon, 28 Sep 2015 14:42:58 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: SF Markus Elfring cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Marek , cocci@systeme.lip6.fr, Marek Szyprowski Subject: Re: [Cocci] [PATCH v2] coccinelle: assign signed result to unsigned variable In-Reply-To: <560930A7.2070400@users.sourceforge.net> Message-ID: References: <1443437687-16559-1-git-send-email-a.hajda@samsung.com> <56092D7B.4030106@users.sourceforge.net> <56092E98.9000103@samsung.com> <560930A7.2070400@users.sourceforge.net> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Sep 2015, SF Markus Elfring wrote: > >> How do you think about the reuse of the parameter "--recursive-includes" here? > > > > Last time I have tried it, kernel source check took more than 10 hours, > > so I gave up. > > This is interesting background information. > > There are opportunities for more fine-tuning of such a source code analysis, > aren't there? I guess parallelism would be helpful? You could try the following options: -j n --chunksize 10 --recursive-includes --include-headers-for-types where n is the number of cores that you want to use. Parsed header files will be cached within chunks. I don't really know what is the best chunksize. julia > > Regards, > Markus > _______________________________________________ > Cocci mailing list > Cocci@systeme.lip6.fr > https://systeme.lip6.fr/mailman/listinfo/cocci >