[PATCHv2] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB
Torvald Riegel
triegel@redhat.com
Thu Aug 27 20:27:00 GMT 2015
On Thu, 2015-08-27 at 15:06 -0500, Steven Munroe wrote:
> QED a Clone syscall is effectively a full barrier (Sequentially
> Consistent) between stores in the thread parent and loads in the thread
> child.
Note that it would have to affect stores in the child too (ie, child
stores overwrite parent stores that happened before the syscall), and
loads in the parent shouldn't be able to read from stores in the child
either.
I guess that's the case because the OS should execute a full barrier on
syscalls, and will use an acquire barrier or similar after getting the
OK to start a new thread and before actually executing the thread?
More information about the Libc-alpha
mailing list