This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Update AT_HWCAP2 bits


Florian Weimer <fweimer@redhat.com> writes:

> On 10/18/2017 09:15 PM, Tulio Magno Quites Machado Filho wrote:
>> Linux commit ID XXXXXXXXX reserved a new bit for a scenario where
>> transactional memory is available, but the suspended state is disabled.
>
> The semantics of this bit are wrong.  If the suspended state is not 
> available, the old hwcap bit needs to be cleared, and a new flag needs 
> to be set which documents the availability of the different for, of 
> transactional memory.  Otherwise, old applications which assume the 
> presence of the suspended state when the old hwcap bit is set will break.
>
> (I think we should have this discussion on the kernel list.)

Agreed.  Especially because I don't think the points you're raising will affect
the glibc patch unless it's necessary to change the name of the bit.

-- 
Tulio Magno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]