[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1502061009320.2538@hadrien>
Date: Fri, 6 Feb 2015 10:12:22 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: Quentin Lambert <lambert.quentin@...il.com>
cc: Stephen Boyd <sboyd@...eaurora.org>,
Mike Turquette <mturquette@...aro.org>,
Julia Lawall <julia.lawall@...6.fr>,
Paul Walmsley <paul@...an.com>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Tony Lindgren <tony@...mide.com>, linux-kernel@...r.kernel.org,
t-kristo@...com, linux-omap@...r.kernel.org, cocci@...teme.lip6.fr,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct
clk instances
On Fri, 6 Feb 2015, Quentin Lambert wrote:
>
> On 06/02/2015 03:15, Stephen Boyd wrote:
> > Thanks for the coccinelle patch. Thinking more about it, I don't think
> > we care if the pointer is dereferenced because that would require a
> > definition of struct clk and that is most likely not the case outside of
> > the clock framework. Did you scan the entire kernel?
> No I haven't.
> > I'm running it now
> > but it seems to be taking a while.
> >
> Yes, that's why, as a first step, I chose to limit the scan to the arm
> directory.
Are you sure to be using all of the options provided:
// Options: --recursive-includes --relax-include-path
// Options: --include-headers-for-types
And are you using 1.0.0-rc23 or 1.0.0-rc24? Those should save parsed
header files so that they don't have to be parsed over and over.
If you are using rc24, then you can use the -j option for parallelism.
But then you should also use an option like --chunksize 10 (I don't know
what number would be good), because the default is chunksize 1, and in
that case the saved parsed header files are not reused, because the fies
are all processed individually. In general, it is only the files within a
chunk that will share parsed header files.
julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists