Re: lib/maple_tree.c:4056:1: error: the frame size of 1144 bytes is larger than 1024 bytes
From: Wei Yang
Date: Fri Jan 31 2025 - 07:28:12 EST
Hi, Scall
On Thu, Jan 30, 2025 at 11:31:50PM +0100, Scall wrote:
>On 1/30/25 5:13 PM, Liam R. Howlett wrote:
>> Do you have KASAN or lock debugging on?
>
>No, I don't.
>
>> Does the issue go away when reverting 8c7904a8cd0df ("maple_tree: i is
>> always less than or equal to mas_end") ?
>
>That commit has not been backported to the kernel version I tried to build
>(6.12.11, currently the latest stable version).
Is there a public git tree to get the code you do build?
>
>Good news: I learned that the issue has already been solved in the mainline
>version with commit 5059aa6334fcf ("maple_tree: memset maple_big_node as a
>whole") and backporting it is the solution.
Or, is it possible to list the last several commits of file lib/maple_tree.c
so that I can reproduce it on my side.
I guess maybe I can try to reproduce this with:
* set CONFIG_FRAM_WARN to 1024
* set KCFLAGS="-O3"
I would try to take a look first.
Is the GCC version matters? I don't have the exact version at hand. Have you
tried other version?
--
Wei Yang
Help you, Help me