Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp95140pxb; Tue, 7 Sep 2021 18:45:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl76c+ID0oNA9oldPSnbeddhu7z0tUVMvBtNGv+3lgQTtCzC9p5WZxg4K8cJGa3cb4lkyj X-Received: by 2002:a17:906:dbed:: with SMTP id yd13mr1398019ejb.167.1631065557746; Tue, 07 Sep 2021 18:45:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631065557; cv=none; d=google.com; s=arc-20160816; b=KIkizev8sOviK5SpkHeQow9xnGyk3RGyIMSLVZmXf29sod0/7sVHLLHGyGX5yb0ke0 cLuUipwOeGXL7cdjmzyULo7aQaY3uo7FMZd5lje5XcJa4575GYJ3UfALzPfQ62Z01E/4 IQCHT6jqWfqQN0IFZfPbEK9rF9tJvDv2qfEp4tUO+B17CyDJI/oSmMnEvbwIMJzOQjFY /lfaiSgXbekblCPGAiGprpu6/gTEeRdtyXd5h60H2Ip/bzGWP+rR2Q4VYp80qoyjNH1L W+EHJXTEa6a3SNCXVX/j386rzQ1tSgw/esxsE6hE2mX5m5nBh85yt4P53+2uPdma6KRb JtHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cmtZIOS9Ve5xG2iMzkU1sWtv+qTK9kG1NPN7g5hyzNo=; b=duy30wj0vy29jnv1thK9gO7cLAYqPY312J5B0S1dpzQko6NP45c/+TmHoiqBG+GlP9 ixp3bOiuDDbhufkQT3gyX7N90ziEYyzxGmBfczpT/SSkc7Q1RWyT9QUZ8Xq0sDI4Z1HN kRMZCkbS/DHzVafj/EtxCNvllL/Eis/iiMi4bTmN7TXImnhaAqKqF59xz4NnYf2ZKnux yMVkThK+X412IhHoOG4GbrkUOSbYVd8o1ZJC/QnurEz0MULtmI8ESKF+HIyJgaSN0dNf 2zKxHaKUu9dIn9EDADZ2PIV5Oa4X58RiEdYdVtM83i6HmfrkVnJ83sXwjrufSFpe4WER H50w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Avp2QNon; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd17si564778ejc.727.2021.09.07.18.45.10; Tue, 07 Sep 2021 18:45:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Avp2QNon; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346698AbhIHBol (ORCPT + 99 others); Tue, 7 Sep 2021 21:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346153AbhIHBok (ORCPT ); Tue, 7 Sep 2021 21:44:40 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A1DC061575 for ; Tue, 7 Sep 2021 18:43:33 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id n11so576139edv.11 for ; Tue, 07 Sep 2021 18:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cmtZIOS9Ve5xG2iMzkU1sWtv+qTK9kG1NPN7g5hyzNo=; b=Avp2QNon6oXLwlm91DcxXo2K8Ngk0nif54gPFAF8gSN1i8UGU3RnS5zbBTY4njddzE kRimZCEAjTDErRvXr9NzGnDj9ERJN9NqfNGni7tfa8fg8ZRHueouEt6GdIwj0aLgB6gt 6fk+gKUyYscFIVOTodXPJQY4t8lVrFzEU6fng= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cmtZIOS9Ve5xG2iMzkU1sWtv+qTK9kG1NPN7g5hyzNo=; b=oQ86+Zm9t9zs43Lcu967gxToRIBPVBIezsNnrfaqziRQK6DIN0y2RRRFBqrnk+QoTC KTz+xAZPjbf9JHGn6TxQ9eAqfrvdcEWGJdzMpzT29YrZDQM/d7STLDjhIUOXw3WtYb47 qUHZdI3nJ7U4jXJLi2W3Hf/Z1n6/lkB1LUIznFQKdcKkOw/5qOhpakFlHmLHQohKhDD1 B3j+HgRRDTe8oOfCGZR2Z3jklZN/zbUF20MMss6dZ/NMkRXXOXz/SFRB66aHoh95YzIf JFc7VYGz/HKGCjPROLZE3PvXvqvEmtcpMoYfJ4rsRNYuQRX7NG5TsJQs8wE0UoEYPHx4 994Q== X-Gm-Message-State: AOAM532fNvthV9/tFoJku4Whkc2zftW1jWUsb6eoAqOkDaEYIRwZ7ne2 qEvSXAfVaGlna7jyRbcTz82X6tuYG1i9Z5Wsa9I= X-Received: by 2002:a05:6402:2032:: with SMTP id ay18mr1272345edb.364.1631065411801; Tue, 07 Sep 2021 18:43:31 -0700 (PDT) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com. [209.85.221.47]) by smtp.gmail.com with ESMTPSA id r26sm196982ejd.85.2021.09.07.18.43.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Sep 2021 18:43:31 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id q26so728662wrc.7 for ; Tue, 07 Sep 2021 18:43:31 -0700 (PDT) X-Received: by 2002:a2e:b53a:: with SMTP id z26mr781467ljm.95.1631064966392; Tue, 07 Sep 2021 18:36:06 -0700 (PDT) MIME-Version: 1.0 References: <92c20b62-c4a7-8e63-4a94-76bdf6d9481e@kernel.org> In-Reply-To: From: Linus Torvalds Date: Tue, 7 Sep 2021 18:35:50 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ipv4/tcp.c:4234:1: error: the frame size of 1152 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] To: Nathan Chancellor Cc: Naresh Kamboju , Mathias Nyman , Johannes Berg , Jakub Kicinski , Shuah Khan , Brendan Higgins , Ariel Elior , GR-everest-linux-l2@marvell.com, Wei Liu , Linux ARM , open list , Netdev , lkft-triage@lists.linaro.org, Arnd Bergmann , "David S. Miller" , Greg Kroah-Hartman , Nick Desaulniers , Daniel Borkmann , Alexei Starovoitov , Eric Dumazet Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 7, 2021 at 5:15 PM Nathan Chancellor wrote: > > Ah, okay, that is an x86-only limitation so I missed it. I do not think > there is any bug with that Kconfig logic but it is only used on x86. Yeah. I think other architectures are basically just buggy, but nobody has ever cared or noticed, because the hardware basically doesn't exist. People hopefully don't actually configure for the kernel theoretical maximum outside of x86. Even there it's a bit ridiculous, but the hardware with lots and lots of cores at least _has_ existed. > Indeed. Grepping around the tree, I see that arc, arm64, ia64, powerpc, > and sparc64 all support NR_CPUS up to 4096 (8192 for PPC) but none of > them select CPUMASK_OFFSTACK I think this one says it all: arch/arc/Kconfig: range 2 4096 yeah. ARC allows you to configure 4k CPU's. I think a lot of them have just copied the x86 code (it was 4k long ago), without actually understanding all the details. That is indeed a strong argument for getting rid of the current much-too-subtle CPUMASK_OFFSTACK situation. But as the hyperv code shows, even on x86 the "we never allocate a full cpumask on the stack" has gotten lost a bit since the days that Rusty and others actually implemented this all. Linus