Messages in this thread | | | Date | Mon, 24 Oct 2022 16:36:07 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH v1 0/8] Update to C11, fix signal undefined behavior |
| |
Em Mon, Oct 24, 2022 at 10:59:03AM -0700, Ian Rogers escreveu: > On Mon, Oct 24, 2022 at 10:51 AM Arnaldo Carvalho de Melo > <acme@kernel.org> wrote: > > > > Em Mon, Oct 24, 2022 at 10:35:15AM -0700, Ian Rogers escreveu: > > > The use of C11 is mainstream in the kernel [1]. There was some > > > confusion on volatile and signal handlers in [2]. Switch to using > > > stdatomic.h (requires C11) and sig_atomic_t as per [3]. Thanks to Leo > > > Yan <leo.yan@linaro.org> for the suggestions. > > > > > > [1] https://lore.kernel.org/lkml/CAHk-=whWbENRz-vLY6vpESDLj6kGUTKO3khGtVfipHqwewh2HQ@mail.gmail.com/ > > > [2] https://lore.kernel.org/lkml/20221024011024.462518-1-irogers@google.com/ > > > [3] https://wiki.sei.cmu.edu/confluence/display/c/SIG31-C.+Do+not+access+shared+objects+in+signal+handlers > > > > I think I'll apply this to perf/core, i.e. for 6.3, ok? > > Sounds good to me. 6.3 or 6.2? I suspect there is more cleanup like > this and to the iterators (from C11) that can be done.
oops, 6.2, sure, 6.1 is the current one, merge window closed. :-)
- Arnaldo
| |