Re: [PATCH 1/2] smp_call_function: don't use lock in call_function_data

From: Jeremy Fitzhardinge
Date: Thu Aug 21 2008 - 20:36:49 EST


Jeremy Fitzhardinge wrote:
> There's no need for a lock in call_function_data, since it's only used
> to decrement-and-test a counter. Use an atomic instead.

BTW, these two patches are against tip.git.

J
--
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/