This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC 1/2][BZ #12674] Remove assembly versions of semaphores.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 6 Dec 2013 19:06:52 +0100
- Subject: Re: [RFC 1/2][BZ #12674] Remove assembly versions of semaphores.
- Authentication-results: sourceware.org; auth=none
- References: <20131206103626 dot GA20423 at domone dot podge> <20131206 dot 121311 dot 705317783278522671 dot davem at davemloft dot net>
On Fri, Dec 06, 2013 at 12:13:11PM -0500, David Miller wrote:
> From: OndÅej BÃlka <neleai@seznam.cz>
> Date: Fri, 6 Dec 2013 11:36:26 +0100
>
> > I looked what are other architectures that do this, main one is sparc,
> > David could you comment on that?
>
> You can't just delete this sparc code, it's using a custom type, do
> you see the casts in the sparc C code?
Then these need to be checked indepenently for race. On 64-bit these
should not be much problem as we can update 8 bytes at once (see later
mail).