[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdmEybM=Vij+DP0O8waL4Awi1pip2VzHhcczgNQsryqBoA@mail.gmail.com>
Date: Thu, 29 Apr 2021 11:39:03 -0700
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Jens Axboe <axboe@...nel.dk>, Borislav Petkov <bp@...e.de>,
Eric Dumazet <eric.dumazet@...il.com>,
Juergen Gross <jgross@...e.com>, Jian Cai <jiancai@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
Guenter Roeck <linux@...ck-us.net>,
Michael Ellerman <mpe@...erman.id.au>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Huang Ying <ying.huang@...el.com>,
Nathan Chancellor <nathan@...nel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] smp: fix smp_call_function_single_async prototype
On Thu, Apr 29, 2021 at 11:27 AM Arnd Bergmann <arnd@...nel.org> wrote:
>
> Either way, I'll give it some more time on the randconfig build machine
> before I send out v2.
SGTM and thanks for the fix. Perhaps worth a note that this isn't
just "a violation of the calling conventions" but straight up
undefined behavior, full stop.
UBSAN folks are working on adding a catch for this as well:
https://reviews.llvm.org/D100037, see the relevant citations from the
standard.
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists