android_kernel_sony_sdm845/include/net/caif
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Arnd Bergmann ff5ca554b1 caif: reduce stack size with KASAN
commit ce6289661b14a8b391d90db918c91b6d6da6540a upstream.

When CONFIG_KASAN is set, we can use relatively large amounts of kernel
stack space:

net/caif/cfctrl.c:555:1: warning: the frame size of 1600 bytes is larger than 1280 bytes [-Wframe-larger-than=]

This adds convenience wrappers around cfpkt_extr_head(), which is responsible
for most of the stack growth. With those wrapper functions, gcc apparently
starts reusing the stack slots for each instance, thus avoiding the
problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-08 07:19:07 +02:00
..
caif_dev.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
caif_device.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
caif_hsi.h caif_hsi.h: Remove extern from function prototypes 2013-09-23 16:29:41 -04:00
caif_layer.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
caif_spi.h caif-spi: Bugfix for dump upon device removal 2011-12-06 13:34:12 -05:00
cfcnfg.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfctrl.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cffrml.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfmuxl.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfpkt.h caif: reduce stack size with KASAN 2019-05-08 07:19:07 +02:00
cfserl.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfsrvl.h caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00