Re: coccinelle: improve array.cocci
- From
- Markus Elfring <markus.elfring@web.de>
- Date
- Nov 22, 2019, 16:17 UTC
- Message-ID
- <c9cc76dc-615f-ff89-6305-64d897734a4a@web.de>
- In-Reply-To
- <20191122152950.GZ23183@szeder.dev>
> I did try --jobs on a couple of occasions,
Thanks for your feedback.
> and the results always varied between broken, not working,
The parallelisation support by the Coccinelle software was questionable for a while.
> or downright making things even slower.
I wonder about this information.
…
> spatch version 1.0.4 with Python support and with PCRE support
…
> Fatal error: exception Sys_error("array: No such file or directory")Another bit of background information: * https://lore.kernel.org/cocci/99082e9d-8047-eee3-68dd-9849868d4a96@users.sourceforge.net/ https://systeme.lip6.fr/pipermail/cocci/2016-August/003546.html
* https://lore.kernel.org/cocci/alpine.DEB.2.10.1506171707190.2578@hadrien/ https://systeme.lip6.fr/pipermail/cocci/2015-June/002141.html
…
> Therefore, merely passing in '--jobs <N>' doesn't bring any runtime benefits:
This program parameter should be used for other command variants.
…
> It appears that batching 'spatch' invocations with 1.0.8 does not > bring the same benefits as with 1.0.4, but brings slowdowns instead...
Would you like to share your experiences also on the Coccinelle mailing list?
Regards, Markus