Re: [PATCH][2.5] Protect smp_call_function_data w/ spinlocks on Alpha

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Fri, 14 Feb 2003 17:53:32 +0300


On Fri, Feb 14, 2003 at 06:51:54AM -0500, Zwane Mwaikambo wrote:
> This is an untested patch to remove the custom mutex, however it
> doesn't maintain the same semantics wrt 'retry' and unconditionally
> blocks on contention.

Why do you want to remove it? The critical data here is a single pointer
which can be effectively protected without spinlock.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/