From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 D43EE3195E7 for ; Fri, 5 Dec 2025 09:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764925562; cv=none; b=YEEaTtEEj0B6/MzCWlZfuRu78r7M/9vPJy4Ki3b88t9SMcFQvrY8kDm0SCHfGipgyGbHBjZ0JXgjIioKsMff7RrO9Epcayfl1YTg9QrsKat9u/5b00e2g5drzY6+eFClVxA+yHV0+SXFH1VZpjhaQbTXInP8pSBejUTKL8nQGLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764925562; c=relaxed/simple; bh=0IdGa3aEK0C6p9oQBE/DlthGymf/POcuxhO0xZcPnK0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=X+IFIukvwfH5nftyIYtZvrf/Bt/cDqkXC6S5xG18ADX7p/smvI5CmY0aVoRbKp1gMPQeqBdJ7hvCrR97CyTs7EgzoG54Egu5RYD1lCGpsbusgu23fgDSqzmEclchhqCW6fKQ0TF9W4MRovu40rrUDxyTwsTeC+SDGPSqthOMZ44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=J4tmuoXK; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J4tmuoXK" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-477a219dbcaso20078125e9.3 for ; Fri, 05 Dec 2025 01:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764925549; x=1765530349; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=gPjIv7bLNA+eaXZkxEWSFgXnKD6deayUVUuP+zP9YfQ=; b=J4tmuoXK//fJb0sHZYnKbGkR/ezRA3sS7/pntpExN2NYeY0V8U/vyCZU4zmDBZqM34 toWBmKwekwXlF121TVGZiZFIhod4eEpuGJHu9RQ0YczQtAwsDbING4f233ZVjLraZxe3 8Hysts1vJaIVrwJ6joQaWcMypdRVXD02J9dtC2YD5u35UKJ9kO+Zc9w/InVukUkNSSbT P6JwL40Z18Ea7f+bg7zdPB7JgWJtUNKeaVRscKT2g/4flJAJgHEuIK8M3EjVpqLmWH+c mCQUNYFYH/WIe6bRv6agTtYPcStqs/vQd5k7AIMkkXZc+k74ZYnnMlwyuWio5i+J313X Vvhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764925549; x=1765530349; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=gPjIv7bLNA+eaXZkxEWSFgXnKD6deayUVUuP+zP9YfQ=; b=XyuknTZDuiOUxTxgYBUFCF4OynGz9dhlKbwNSbnh29vjEoQ//297ZtEeRdTaLVk7a2 2pFfg/EazaL2eBxjzwEqWo02ZMvs+jd3IAMqIu+KjYJTtzOwdDKrgTTmJ92LE4J7aDFB XPh75vxUxleBJVJVxQlrrvu1BKiMg4lWh8r39X04mE/mDoMp9UaljaCIpo274uSf+ER9 VThREjWrQP7mlnAxhioHfGDbVH2AG0011tJkVnDxwdPykC2ixTOeK+o+FjYFdT1ZibfR 51a7wy4tQo6mThXntVlmFqHEc3idT6OAcEstwD4RjSeSOlBF3uilDk0Sh2iZLhc1Ipbm j/6g== X-Forwarded-Encrypted: i=1; AJvYcCVLP7HBErQ0I0RkC7Kicu8Qh+xCWLbyWIq7G8aEtjLWkdPiUYem6aQvdNFnOLWyB0ACPxNUYAUypnpKgTA=@vger.kernel.org X-Gm-Message-State: AOJu0YwPpcMzfWAS9j63ZDmPaDapGCb7DpDgJIFjKn/AR1ejGowbvgEk ZbpCDaAMf3+weKRTbT1hJXe7VuXQEnRSUeWl+Rt38O40rtMjaRLhgNv3 X-Gm-Gg: ASbGncs4ZtTcjRA6QXza8A+vt5ybTLppBXw1d5CMzvCsRjYiwDYX9dYPYgWJy9mPFsy Qp30/5Jcd5vqyTQI9NjzN3fM0A2Q4+ExFEYqqcVOaKD/dG1Fh6purE7OrGudwc1sNmNizkCENAj C2o5Uh95OxCzJqLpFUmW2fMtP8KzJjGV27l4Rfjn0QPsJS5PDo1vEXtVulx/IA8I1bM4YbPSAZ/ H4eiRAtGb9gfFt7myDgcVtzmi7vmv3N0eAC5CiOfg32yWqL2b4BZQP8novWPqG2HW83YwmA77JQ bmHB+/Eq9k8kOdT3AgE7SzLa5G4A1rYCby3TT/Si9BpuKjNspVspBvlAt/YvqmoPJRLN1bSiFAh McaimcOf2aX9xmyQN4C3ShXy/KEgTTFEjk6m/ex7yg9et5diK0tmz1QwXifQOaljbRlQk2EqHMb Xxk4QHjSnYrLqQC35j4XuscheLsFy6skbfiSN/hphE5a63GAuhBTyg X-Google-Smtp-Source: AGHT+IF8W/9MlEcKmqn2kw9+weGowFZMPnB0eC/Qduxz4zsD8CKn53dGBdqa0hA99lUPqsBuT1858Q== X-Received: by 2002:a05:600c:4710:b0:46e:1fb7:a1b3 with SMTP id 5b1f17b1804b1-4792af3d16fmr84480855e9.23.1764925548722; Fri, 05 Dec 2025 01:05:48 -0800 (PST) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-479308cd87csm76631065e9.0.2025.12.05.01.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Dec 2025 01:05:48 -0800 (PST) Date: Fri, 5 Dec 2025 09:05:46 +0000 From: David Laight To: Christian Kujau Cc: Tiffany Yang , linux-kernel@vger.kernel.org, "Liam R. Howlett" , Arnd Bergmann Subject: Re: maple_tree.c:3738:1: error: the frame size of 1040 bytes is larger than 1024 bytes Message-ID: <20251205090546.69158d85@pumpkin> In-Reply-To: <530c975d-7fee-f6bb-948c-53c6af4a91be@nerdbynature.de> References: <769dc761-3ea6-76b9-d6a3-cd64a3fddfe3@nerdbynature.de> <20251030143400.09fc0a89@pumpkin> <20251030165137.56eb618f@pumpkin> <530c975d-7fee-f6bb-948c-53c6af4a91be@nerdbynature.de> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 5 Dec 2025 01:49:00 +0100 (CET) Christian Kujau wrote: > Hi Tiffany, > > On Tue, 25 Nov 2025, Tiffany Yang wrote: > > 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 > > Sorry for the late response. And thanks for resurrecting! > > > 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, > > Interesting. I really did "allnoconfig" and then turned on a few debug > options via "menuconfig", I did not set CONFIG_STACK_WARN manually. Thanks > for spotting this, I'll look into my cross-build routine if something > funny happens there. > > > 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! > > Yes, a proper fix would be great too. Can't remember if I mentioned it before, but I suspect that letting mas_commit_b_node() be inlined and then stopping both mas_rebalance() and mas_split() being inlined into it (both of which are big and slow) for all builds (not just KASAN ones) will reduce the overall stack slightly. David > > cheers, > Christian.