Messages in this thread | | | From | Greg Dietsche <> | Subject | [PATCH 0/3] coccinelle: add parallel execution | Date | Tue, 12 Jul 2011 20:26:42 -0500 |
| |
This patch series adds a new flag PARALLEL= to the coccicheck build target and documents the new feature. It works a lot like make's -j flag. I looked for a way to have make pass on the value of -j, but didn't find one - if anyone knows how to do that, I'd love to hear about it!
I suppose an alternate approach would be to accomplish this via make itself, but the approach in this patch series seemed simpler to implement...
Performance is quite a bit better than single threaded. On my 6 core box, the checks generally run around 3x faster.
Feedback welcome!! :)
Greg
Greg Dietsche (3): coccinelle.txt: add overview section coccinelle.txt: add documentation of PARALLEL= flag coccicheck: add parallel execution
Documentation/coccinelle.txt | 35 +++++++++++++++++++++++++++++++++++ scripts/coccicheck | 27 ++++++++++++++++++++++++++- 2 files changed, 61 insertions(+), 1 deletions(-)
-- 1.7.2.5
| |