Arnd Bergmann
2e12ca4489
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:20:45 +02:00
..
2017-07-11 06:08:58 -04:00
2019-03-13 14:03:10 -07:00
2019-05-08 07:20:45 +02:00
2017-11-02 11:10:55 +01:00
2019-04-05 22:31:39 +02:00
2019-04-17 08:37:50 +02:00
2018-09-29 03:06:01 -07:00
2019-03-23 14:35:16 +01:00
2019-05-08 07:20:44 +02:00
2019-05-04 09:15:20 +02:00
2017-04-12 22:02:36 +02:00
2017-11-09 10:03:09 +09:00
2017-11-02 11:10:55 +01:00
2017-08-29 10:55:20 +01:00
2017-11-02 11:10:55 +01:00
2018-08-22 07:46:08 +02:00
2017-11-02 11:10:55 +01:00
2018-01-31 14:03:44 +01:00
2017-11-02 11:10:55 +01:00
2019-02-23 09:06:44 +01:00
2017-05-27 18:51:41 -04:00
2018-10-18 09:16:17 +02:00
2017-08-11 14:59:24 -07:00
2017-07-04 22:35:16 +01:00
2018-02-25 11:07:45 +01:00
2017-01-20 12:12:13 -05:00
2017-07-04 01:29:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-31 14:42:19 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-09-05 11:53:34 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-09 09:51:48 +02:00
2017-08-22 14:29:30 -07:00
2017-11-02 11:10:55 +01:00
2017-09-01 20:33:42 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-18 09:40:35 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-13 14:03:09 -07:00
2017-01-25 16:00:33 +01:00
2017-07-04 01:29:04 -07:00
2018-04-29 11:33:13 +02:00
2017-01-18 13:04:28 -05:00
2017-08-07 11:39:22 -07:00
2017-11-02 11:10:55 +01:00
2017-06-15 12:12:40 -04:00
2017-11-02 11:10:55 +01:00
2019-04-27 09:35:40 +02:00
2017-08-07 11:39:21 -07:00
2018-10-18 09:16:21 +02:00
2018-05-16 10:10:24 +02:00
2019-02-23 09:06:42 +01:00
2017-09-01 17:42:05 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-31 08:13:42 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-04-17 08:37:48 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-04-27 09:35:40 +02:00
2019-04-27 09:35:40 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-06 17:31:33 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-30 07:52:20 +02:00
2018-08-22 07:46:08 +02:00
2017-11-02 11:10:55 +01:00
2018-05-30 07:51:58 +02:00
2017-11-02 11:10:55 +01:00
2017-04-01 20:21:44 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-17 09:28:45 +01:00
2019-04-17 08:37:50 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-07-01 07:39:09 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-16 10:10:23 +02:00
2017-08-29 15:16:52 -07:00
2017-11-02 11:10:55 +01:00
2017-11-09 10:03:09 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-01 03:55:47 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-07 11:39:21 -07:00
2017-11-02 11:10:55 +01:00
2018-02-25 11:07:59 +01:00
2018-05-30 07:52:01 +02:00
2017-07-01 07:39:08 -07:00
2017-11-02 11:10:55 +01:00
2018-05-30 07:52:14 +02:00
2017-11-02 11:10:55 +01:00
2018-03-31 18:10:40 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2016-11-09 20:40:06 -05:00
2017-08-25 17:10:23 -07:00
2018-04-19 08:56:16 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-04-03 06:25:09 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-25 10:37:11 +09:00
2017-08-07 14:48:48 -07:00
2019-02-23 09:06:43 +01:00
2018-12-05 19:41:10 +01:00
2018-06-26 08:06:28 +08:00
2017-11-02 11:10:55 +01:00
2017-08-29 15:16:52 -07:00
2017-11-02 11:10:55 +01:00
2018-06-26 08:06:28 +08:00
2018-03-08 22:41:10 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:25 +01:00