Re: [PATCH] aarch64: Add memory clobber to pkey_write

Wilco Dijkstra <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <PAWPR08MB89829E41B54AC0757AC6CACF83AE2@PAWPR08MB8982.eurprd08.prod.outlook.com>
Hi,

>> Should we open a bug report for this (and does it change the code
>> generation for current wrappers)?
>
> What do you mean by "current wrappers"?
> 
> It doesn't change code generation. I've checked GCC 12..trunk and LLVM trunk.

I can't see how it could be a bug. The asm itself is at the end so can't be reordered.
You'd have to somehow inline pkey_set across DSOs...

Cheers,
Wilco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.