[PATCH 0/3] coccinelle: add parallel execution
From: Greg Dietsche
Date: Tue Jul 12 2011 - 21:25:34 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/