Re: [PATCH 07/26] brcmsmac: reduce stack size with KASAN

From
Arnd Bergmann <arnd@arndb.de>
Date
2017-03-06 11:31:38
Also in
linux-media, lkml, netdev
Reply to
Arnd Bergmann, 2017-03-06
On Mon, Mar 6, 2017 at 12:16 PM, Arnd Bergmann [off-list ref] wrote:
On Mon, Mar 6, 2017 at 12:02 PM, Arend Van Spriel
[off-list ref] wrote:
quoted
On 6-3-2017 11:38, Arnd Bergmann wrote:
quoted
On Mon, Mar 6, 2017 at 10:16 AM, Arend Van Spriel
[off-list ref] wrote:
quoted
Given the amount of local variables maybe just tag the functions with
noinline instead.
But that would result in less efficient object code without KASAN,
as inlining these by default is a good idea when the stack variables
all get folded.
Note that David Laight alread suggested renaming noinline_for_kasan
to noinline_if_stackbloat, which makes it a little more obvious what
is going on. Would that address your concern as well?

    Arnd
Thread (62 messages) 62 messages, 8 authors, last reply 2017-03-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help