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

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Fri Feb 14 2003 - 09:53:32 EST


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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:55 EST