kernel_optimize_test/include/net/caif
Arnd Bergmann ce6289661b caif: reduce stack size with KASAN
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>
2018-01-19 14:02:12 -05:00
..
caif_dev.h
caif_device.h
caif_hsi.h
caif_layer.h
caif_spi.h
cfcnfg.h
cfctrl.h
cffrml.h
cfmuxl.h
cfpkt.h caif: reduce stack size with KASAN 2018-01-19 14:02:12 -05:00
cfserl.h
cfsrvl.h