This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] New condvar implementation that provides stronger ordering guarantees.
- From: Torvald Riegel <triegel at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Szabolcs Nagy <szabolcs dot nagy at arm dot com>, nd at arm dot com, GLIBC Devel <libc-alpha at sourceware dot org>, "Carlos O'Donell" <carlos at redhat dot com>, David Miller <davem at davemloft dot net>, Darren Hart <dvhart at infradead dot org>
- Date: Mon, 30 May 2016 16:06:02 +0200
- Subject: Re: [PATCH] New condvar implementation that provides stronger ordering guarantees.
- Authentication-results: sourceware.org; auth=none
- References: <1464268895 dot 17104 dot 14 dot camel at localhost dot localdomain> <ff6705fc-da70-9daa-d1fd-fb89192e7121 at redhat dot com> <57482C29 dot 2010403 at arm dot com> <5b18e01d-60f8-3aff-aadc-e3d285aafa05 at redhat dot com>
On Mon, 2016-05-30 at 15:51 +0200, Florian Weimer wrote:
> On 05/27/2016 01:14 PM, Szabolcs Nagy wrote:
> > On 27/05/16 10:57, Florian Weimer wrote:
> >> The removal of the pointer member may have alignment impact elsewhere, too.
>
> This might still be a problem.
Do we have targets other than m68k in which the alignment of a long long
int is less than the alignment of a pointer?
I had hoped that arch maintainers would notify us about such cases, but
maybe that's too easy to overlook. Alternatively, we could add another
alignment dummy variable to the outermost union that is of type pointer.