Re: Why Semaphore Hardware-Dependent?

From: Nick Piggin
Date: Wed Sep 13 2006 - 14:13:31 EST


Christoph Lameter wrote:
On Thu, 14 Sep 2006, Nick Piggin wrote:


Comments?


You only support 64k waiters. We have had cases of software failing because more than 64k readers were waiting.

Oh really? OK I figured if ppc64 was OK then that would be enough,
but your large Altix systems did slip my mind.

That is a fair criticism... atomic_long it will have to be, then.
That will require a bit of atomic work to get atomic64_cmpxchg
available on all 64-bit architectures.

Please sent patches inline in order for us to be able to comment.

OK I will for next patchset.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
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/