This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 4/5] linux: Optimize posix_spawn spurious sigaction calls
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 29 Aug 2019 10:38:00 +0200
- Subject: Re: [PATCH 4/5] linux: Optimize posix_spawn spurious sigaction calls
- References: <20190731183136.21545-1-adhemerval.zanella@linaro.org> <20190731183136.21545-4-adhemerval.zanella@linaro.org>
* Adhemerval Zanella:
> * include/atomic.h (atomic_fetch_or_seq_cst, atomic_fetch_or_seq_cst):
> New macros.
Why isn't a regular release store/acquire load synchronization
sufficient here?
I wonder if we can get kernel support for this in the new clone system
call with more flags. Then we don't have to complicate the sigaction
implementation.
Thanks,
Florian