[PATCH] NUMA spinlock [BZ #23962]

H.J. Lu hjl.tools@gmail.com
Mon Jan 7 19:49:00 GMT 2019


On Mon, Jan 7, 2019 at 11:12 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu:
>
> > Should glibc have scalable spinlock, in libc.so or a separate shared object?
> > Or should we tell people that if they want scalable spinlock, they look
> > elsewhere?
>
> I think non-polymorphic, small lock types with scoped locking could make
> sense for glibc.
>
> A lock specific to a certain machine architecture seems strange.  We
> currently lack any of the kernel NUMA interfaces in glibc, which makes
> this stand out even more.
>

And this lack of support doesn't make problems to go away.

-- 
H.J.



More information about the Libc-alpha mailing list