Re: Why Semaphore Hardware-Dependent?

Nick Piggin
2006-09-13T18:13:15Z

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