lkml.org 
[lkml]   [2011]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] coccinelle: add parallel execution
Date
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



\
 
 \ /
  Last update: 2011-07-13 03:27    [W:0.228 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site