From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E89A01096F for ; Tue, 25 Nov 2025 23:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764112192; cv=none; b=hLT26h2zStAZtVJu7fj/egpDMmg70ymfneu28mxj/tQV+hok9RkbDCqZK6OLerMaPi1P1Ch9N0/q9zgm38ndU9BgjODhKsu5tUIBCM1hn55tghMcmiX/w38cZ/MRyDI1nOcU2MIBuaDe+QkhzVpIzitUGH4C4T6vn6yqMWW1e28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764112192; c=relaxed/simple; bh=bod0a1i/XhS4maDaiL9YBFxEejUSe7WbhmssC/5lRcA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=E3TiWDQr8hGDMtJCj4Zbcw9h9J+KfLozRdN0mfjIv1MFZrEV/jQxeUQVO3KcbpJfLwsXurSFPI3OuwekcC88SYIxb9KXWkxkHjfsZc0GIu3VW1ORleNJWpVpzTx9ktUjCLNj7u3V0/sGKKauG5SCajxco8NQfCJPMeMd/nHvzWI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--ynaffit.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=AoWjHYGq; arc=none smtp.client-ip=209.85.215.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--ynaffit.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="AoWjHYGq" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-b630753cc38so10138193a12.1 for ; Tue, 25 Nov 2025 15:09:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764112190; x=1764716990; darn=vger.kernel.org; h=cc:to:from:subject:message-id:user-agent:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to; bh=vEXl0JLLq7Pg3XItxUbsqndL3LDhLPlAreiRZmCZyVo=; b=AoWjHYGqk98WLYFfpVh14ifrHF8hWPdbahLZQ36tm/bMJ9fr6K0bxBihnXYjC2z7WL JTXkM4gVagd2Kureqm+mnAlYhYSP7iZqYysUz0nAQruMgl6nSVACxLQq/hM+3xT4zW03 FpZoCMCSJI+EUBFBr3Mx4sQoCUjPuHbeWiOFxsU/yTygqafYwYHqu8Tph5NT+BncepbT F8XgOnbov/c99d5+93gx6KUHmHv4eEES0y2MMxH90vCLxwjo0XcryaozYBeiJExbfbfc VP2Try8eF82KMmSFBX8S8lEY+WM5hrZTcMq8qFwOgCoIRDO4wVQKZdyq1xZrCOLq2aAq tkSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764112190; x=1764716990; h=cc:to:from:subject:message-id:user-agent:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vEXl0JLLq7Pg3XItxUbsqndL3LDhLPlAreiRZmCZyVo=; b=QBgFh98SsD/KpSDY2zOWrIp0C5llgMpA4SiWGQFBH6SllirFoDJp1XsGikXm8WTgDf fvvxE5sMaYpzL3tbRnQ1tcFZtgZwiCShOzFKbs3RZXKcR17ANWJTksCBjPx3GOY/b53S HkCdrGJ6MjAIOWuWeCamHNjSTaaB+mi4iRm4uIFYAWkO4ivp+jd6560+H1yYGolEuVUv NVvc5YNTXzb0UT6n2DLoqtaZsqDzzg5wzNMCYESHeVMtBwwPrBqszTl+66zBxVqKhAg3 SdZyq5hEsg8H37UrvOPwidBLIWwOYPTKj73BcTP9hQH7VCXnn/Nd8lEd/DUDeByZzUPL t3tQ== X-Forwarded-Encrypted: i=1; AJvYcCW2b2DRH0j69wq790ZeJZO66WAVrNqFgu37m+GyYsCZMMMjCLc4t73tyEspcKif3sK7aF8SOsLPKCG/gjE=@vger.kernel.org X-Gm-Message-State: AOJu0YzONkAuVmliexUE1fS0iQVZMomcDwMqpWODd7g0iFuAgANzrhSf ofY8nQk1AOEkGyopsJyqA6oHmOKr/93p5UF5Hdpphf81xLAeRhu++aHJN3SmjhSrcQ/E+Wsok8y dtY94gjWwgw== X-Google-Smtp-Source: AGHT+IHbFUtJI5owIHeb6RpmrIeaB3CdscVMptHSoIIfaJj+QhqhRdzDH/46+etuZ6R5ajg7Qa6boIFUqcLh X-Received: from dlbqy19.prod.google.com ([2002:a05:7022:ef13:b0:11a:3780:4b65]) (user=ynaffit job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:7f03:b0:119:e56c:18b7 with SMTP id a92af1059eb24-11c9d84a5f7mr8390843c88.31.1764112190178; Tue, 25 Nov 2025 15:09:50 -0800 (PST) Date: Tue, 25 Nov 2025 15:09:48 -0800 In-Reply-To: (Christian Kujau's message of "Thu, 30 Oct 2025 18:13:33 +0100 (CET)") Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <769dc761-3ea6-76b9-d6a3-cd64a3fddfe3@nerdbynature.de> <20251030143400.09fc0a89@pumpkin> <20251030165137.56eb618f@pumpkin> User-Agent: mu4e 1.12.12; emacs 30.1 Message-ID: Subject: Re: maple_tree.c:3738:1: error: the frame size of 1040 bytes is larger than 1024 bytes From: Tiffany Yang To: Christian Kujau Cc: David Laight , linux-kernel@vger.kernel.org, "Liam R. Howlett" , Arnd Bergmann Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Hi Christian, Sorry to resurrect this old thread, but I wanted to reply in case you were still thinking about this for whatever reason. I was running into a similar issue with building UML, and then I found Geert's reply [1] in a related thread. Christian Kujau writes: > On Thu, 30 Oct 2025, David Laight wrote: >> It is horrendous - best part of 4k code, the stack frame is 0x408. >> Which means I must be building with a larger stack frame limit. >> Is one of your debug options reducing it? > No that I know of. I've attached the config to my initial posting. I'm not sure how you set your config initially, but what jumps out at me is that CONFIG_STACK_WARN=1024 even though CONFIG_64BIT=y. CONFIG_STACK_WARN defaults to 2048 for 64-bit builds, which is why other people don't seem to be running into this issue (at least from glancing over the mailing list). Obviously, this doesn't solve the actual problem, but from Liam's reply further up in the thread, it looks like he's working on a fix, so now you can keep your eye out for that! [1] https://lore.kernel.org/all/CAMuHMdVqOR2kPy7V+N5oCFrKZA0R7JHC_+QsjFc5c43F1KFFiw@mail.gmail.com/ -- Tiffany Y. Yang