Re: [RESEND 3/3] coccicheck: add parallel execution
From: Michal Marek
Date: Sun Dec 11 2011 - 15:48:10 EST
On 6.11.2011 03:14, Gregory.Dietsche@xxxxxxx wrote:
> + coccinelle $f>/tmp/cocci_parallel_$$_$PARALLEL_ID 2>&1 &
This opens a symlink race.
And this whole parallel execution should be done by make. Just have a
generic rule for getting result from a single check, make the default
target depend on the list of the wanted results and concatenate the
results there. make -j will then take of parallelizing it.
Michal
--
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/