public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] coccinelle: add parallel execution
@ 2011-07-13  1:26 Greg Dietsche
  2011-07-13  1:26 ` [PATCH 1/3] coccinelle.txt: add overview section Greg Dietsche
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Greg Dietsche @ 2011-07-13  1:26 UTC (permalink / raw)
  To: julia, Gilles.Muller, npalix.work
  Cc: rdunlap, linux-doc, linux-kernel, cocci, Greg Dietsche

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-07-27  6:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-13  1:26 [PATCH 0/3] coccinelle: add parallel execution Greg Dietsche
2011-07-13  1:26 ` [PATCH 1/3] coccinelle.txt: add overview section Greg Dietsche
2011-07-26 14:46   ` Nicolas Palix
2011-07-13  1:26 ` [PATCH 2/3] coccinelle.txt: add documentation of PARALLEL= flag Greg Dietsche
2011-07-27  6:19   ` Nicolas Palix
2011-07-13  1:26 ` [PATCH 3/3] coccicheck: add parallel execution Greg Dietsche
2011-07-13  2:42   ` Joe Perches
2011-07-14  2:14     ` Greg Dietsche
2011-07-26 13:33       ` Nicolas Palix
2011-07-26 13:53         ` Michal Marek
2011-07-26 22:46           ` Greg Dietsche
2011-07-26 22:36         ` [PATCH v2] " Greg Dietsche
2011-07-27  6:18           ` Nicolas Palix
2011-07-14  9:37 ` [PATCH 0/3] coccinelle: " Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox