[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH glibc 12/12] C11 thrd: Downgrade the default alignment of
From: |
Sergey Bugaev |
Subject: |
Re: [RFC PATCH glibc 12/12] C11 thrd: Downgrade the default alignment of mtx_t |
Date: |
Sun, 12 Feb 2023 18:52:37 +0300 |
On Sun, Feb 12, 2023 at 6:18 PM Samuel Thibault <samuel.thibault@gnu.org> wrote:
> I'd say rather make pthread_mutex_t aligned on long int, so we can
> possibly in the future put some pointers in it without breaking the ABI.
I honestly have 0 idea how it is not 8-aligned right now (nor how its
size is 32 and not like 56), given that this is its definition...
no, strike that, I see that there are *two* versions of
struct___pthread_mutex.h, one in sysdeps/mach/hurd/htl/bits and the
other one in sysdeps/htl/bits/types, and the former one wins. The
latter one seems unused then, its only point was to confuse the hell
out of me.
Sergey
- Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too, (continued)
[RFC PATCH glibc 4/12] hurd: Fix xattr error value, Sergey Bugaev, 2023/02/12
[RFC PATCH mig 8/12] Set max type alignment to sizeof(long), Sergey Bugaev, 2023/02/12
[RFC PATCH glibc 10/12] hurd: Set up the basic tree for x86_64-gnu, Sergey Bugaev, 2023/02/12
[RFC PATCH glibc 12/12] C11 thrd: Downgrade the default alignment of mtx_t, Sergey Bugaev, 2023/02/12
[RFC PATCH glibc 5/12] htl: Fix semaphore reference, Sergey Bugaev, 2023/02/12
[RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Florian Weimer, 2023/02/12
- Re: [RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH glibc 11/12] hurd, htl: Add some x86_64-specific code, Florian Weimer, 2023/02/12