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: [PATCHv2] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB


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?


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