This is the mail archive of the
mailing list for the glibc project.
Re: Support for i386 builds of glibc?
On 03/04/2013 10:11 PM, David Miller wrote:
From: "Maciej W. Rozycki" <firstname.lastname@example.org>
Date: Mon, 4 Mar 2013 20:56:08 +0000
They could be easily emulated with the aid of global spinlocks, but
given the decline of the i386 it's probably not worth the effort.
This is a misnomer, you can't use global spinlocks as those are not
signal safe and will deadlock. Even the glibc testsuite will trigger
i386 supports atomic increment and decrement. This should be sufficient
for NPTL, its use of CAS stems from an optional optimization not really
required for using futexes. So a hypothetical i386 version would not
need a system call on the fast path.
Florian Weimer / Red Hat Product Security Team