Re: lib/maple_tree.c:4056:1: error: the frame size of 1144 bytes is larger than 1024 bytes

From: Liam R. Howlett
Date: Thu Jan 30 2025 - 11:14:14 EST


* Scall <scall@xxxxxxxxxxxxx> [250130 10:53]:
> Trying to build Linux 6.12.11 with GCC 14.2.1 and KCFLAGS="-O3":

Thanks. I received a report of a frame size issue directly (not over
email) from someone else.

Do you have KASAN or lock debugging on?


>
> [...]
> lib/maple_tree.c: In function 'mas_wr_bnode':
> lib/maple_tree.c:4056:1: error: the frame size of 1144 bytes is larger than
> 1024 bytes [-Werror=frame-larger-than=]
> 4056 | }
> | ^
> [...]

Does the issue go away when reverting 8c7904a8cd0df ("maple_tree: i is
always less than or equal to mas_end") ?

Thanks,
Liam