[PATCH] Avoid unnecessary busy loop in __lll_timedlock_wait on ARM.

Carlos O'Donell carlos@systemhalted.org
Sun Feb 10 17:55:00 GMT 2013


On Sat, Feb 9, 2013 at 11:56 PM, David Miller <davem@davemloft.net> wrote:
> From: "Carlos O'Donell" <carlos@redhat.com>
> Date: Sat, 09 Feb 2013 09:55:43 -0500
>
>> I'd seen the *other* sparc pre-v9 implementation that used 64 global
>> locks per-library and that seemed signal unsafe and prone to deadlocks.
>
> All of these pre-v9 things are signal unsafe and deadlock.
>
> I thought about doing the kernel atomic emulation other platforms have
> adopted, but frankly these cpus are so old and deprecated that they're
> not worth doing the work for.
>
> And by the time we'd propagate all of this infrastructure necessary to
> support this kind of scheme, those cpus would be even more outdated.
>
> Even debian does v9-only build on 32-bit.

Eminently practical. Just curious. Thanks for verifying what I suspected.

Cheers,
Carlos.



More information about the Libc-ports mailing list