Arnd Bergmann
09d49eb90f
ocfs2: reduce ioctl stack usage
...
On 32-bit architectures with KASAN_STACK enabled, the total stack usage of
the ocfs2_ioctl function grows beyond the warning limit:
fs/ocfs2/ioctl.c: In function 'ocfs2_ioctl':
fs/ocfs2/ioctl.c:934:1: error: the frame size of 1448 bytes is larger than 1400 bytes [-Werror=frame-larger-than=]
Move each of the variables into a basic block, and mark
ocfs2_info_handle() as noinline_for_stack, in order to have the variable
share stack slots.
Link: https://lkml.kernel.org/r/20230417205631.1956027-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-21 14:54:34 -07:00
..
2023-03-01 08:52:49 -08:00
2023-01-19 09:24:02 +01:00
2023-02-20 14:10:36 -08:00
2023-02-23 17:09:35 -08:00
2023-01-19 09:24:28 +01:00
2022-08-02 12:34:03 -04:00
2023-01-19 09:24:28 +01:00
2023-04-02 10:57:12 -07:00
2023-01-19 09:24:28 +01:00
2023-03-02 10:48:30 -08:00
2023-03-30 17:56:30 -05:00
2023-02-21 11:07:23 -08:00
2023-01-19 09:24:28 +01:00
2023-03-02 21:54:23 -08:00
2023-03-18 21:08:03 -07:00
2023-02-27 10:04:49 -08:00
2023-02-24 12:58:55 -08:00
2023-02-21 18:10:50 -08:00
2023-02-23 14:41:48 -08:00
2023-03-09 23:36:04 +08:00
2023-03-01 08:42:27 -08:00
2023-01-19 09:24:28 +01:00
2023-02-20 14:10:36 -08:00
2023-03-17 21:53:52 -04:00
2023-02-27 16:18:51 -08:00
2023-02-23 17:55:40 -08:00
2023-02-23 17:55:40 -08:00
2023-01-30 12:51:54 +00:00
2023-02-27 09:53:58 -08:00
2023-03-23 19:37:56 +01:00
2023-02-23 17:55:40 -08:00
2023-03-02 21:54:23 -08:00
2023-03-01 09:13:00 -08:00
2023-01-19 09:24:26 +01:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2022-10-12 11:00:22 -07:00
2023-03-12 08:55:55 -07:00
2023-03-01 09:06:51 -08:00
2023-03-01 08:47:19 -08:00
2023-02-24 12:58:55 -08:00
2023-04-02 23:08:56 -05:00
2023-03-14 14:00:55 -04:00
2023-02-24 19:01:15 -08:00
2023-03-01 18:18:25 -06:00
2023-04-08 13:45:36 -07:00
2023-01-11 06:52:32 -05:00
2023-04-04 11:20:55 -07:00
2023-03-23 17:18:32 -07:00
2023-02-21 10:45:51 -08:00
2023-02-23 17:55:40 -08:00
2023-02-23 17:09:35 -08:00
2023-04-21 14:54:34 -07:00
2023-01-19 09:24:28 +01:00
2023-02-23 17:09:35 -08:00
2023-02-20 11:53:11 -08:00
2023-04-21 14:54:34 -07:00
2022-12-23 11:55:54 -08:00
2022-09-11 21:55:07 -07:00
2023-02-21 10:45:51 -08:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2023-01-18 17:12:56 -08:00
2023-02-20 17:25:43 -06:00
2023-02-03 17:52:25 -08:00
2023-02-24 19:03:26 -08:00
2023-01-19 09:24:26 +01:00
2023-03-01 09:06:51 -08:00
2023-03-06 16:38:25 +01:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:26 +01:00
2023-03-15 22:50:41 -07:00
2023-03-24 13:16:01 -07:00
2023-03-30 20:56:02 +09:00
2023-02-10 15:34:48 -08:00
2022-08-20 11:34:04 -04:00
2023-02-20 11:53:11 -08:00
2023-01-19 09:24:28 +01:00
2023-04-08 13:45:37 -07:00
2023-04-08 13:45:37 -07:00
2022-12-02 13:57:04 -08:00
2023-02-23 17:09:35 -08:00
2022-12-02 17:48:59 +01:00
2023-02-23 17:09:35 -08:00
2022-08-20 11:34:33 -04:00
2023-02-03 17:52:24 -08:00
2022-10-10 19:45:17 -07:00
2023-01-26 10:30:56 -07:00
2022-11-22 06:07:55 -07:00
2023-04-18 16:39:35 -07:00
2023-02-23 17:09:35 -08:00
2023-02-20 11:53:11 -08:00
2022-09-01 17:36:39 -04:00
2023-01-11 06:52:32 -05:00
2023-03-09 22:46:21 -05:00
2022-12-01 10:46:54 -05:00
2023-02-02 22:33:19 -08:00
2023-01-19 09:24:28 +01:00
2023-02-20 11:53:11 -08:00
2023-02-20 14:10:36 -08:00
2023-01-19 09:24:29 +01:00
2023-01-26 10:30:56 -07:00
2022-10-10 14:21:11 -07:00
2023-02-20 11:53:11 -08:00
2023-03-09 22:36:12 +01:00
2023-02-20 14:10:36 -08:00
2022-12-08 21:49:25 -05:00
2023-01-19 09:24:30 +01:00
2023-02-23 17:09:35 -08:00
2023-02-22 14:21:40 -08:00
2023-03-31 12:13:37 +02:00
2023-01-11 15:47:40 -05:00
2023-02-27 16:39:19 -08:00
2022-08-20 11:34:04 -04:00
2022-12-21 14:45:25 +01:00
2023-02-20 12:14:33 -08:00
2022-12-12 18:29:54 -08:00
2022-08-17 17:25:04 -04:00
2023-01-19 09:24:29 +01:00
2022-11-25 13:01:55 -05:00
2023-03-09 10:10:31 +01:00
2023-02-20 11:53:11 -08:00
2023-03-14 10:30:30 -07:00
2023-02-09 16:51:39 -08:00
2023-02-20 11:53:11 -08:00
2023-02-20 11:53:11 -08:00