Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp908434rdb; Sun, 1 Oct 2023 10:25:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPEZ6BhMH/b9XJoHvW1NsEqN8lgNP9POylF7EnGOkoWs/PphOiLBdyUNosLYqrnGOJRNJ1 X-Received: by 2002:a17:90a:3884:b0:26b:49de:13bd with SMTP id x4-20020a17090a388400b0026b49de13bdmr7151645pjb.36.1696181134054; Sun, 01 Oct 2023 10:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696181134; cv=none; d=google.com; s=arc-20160816; b=IaICW2IbpYYc8PiAskdHpu5qDBIVa08Ejiq0GC/gumEm15iMwg6xLn0j3XfNmaI81T hmMrDmLSAmtvTUZL1c5AW/wVokqACQ32D7vyDEjRd8w6Brjx5LwZgz0T5kuJJsUHeyIl v8Ckpd2EB9yEKOIbv+wjKZayDEjtDNS58siBphlOusgfRZtEF9dKPeP2fGBws8skeQxn 0Lv+UZiP66kkd1tfbKum2omtkzQ3JLJ12/eHfXIrnAov78IJyuaeP0vqu8O6mVeBrvAK 3UayARJAClGkf5c8L+xQiHPd4T3pkrg9813uW+A5LfydJyb1MCFKejipsa3+wrvTKPQU YFiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:cc:to:from:subject:dkim-signature; bh=ns2xB6fN1+mMzMssrNHyf28ydSNSwia2Ogng/5EA6Ww=; fh=TWRzJ9Y3+2PIAzRwk5vsjlHFDOInsR7jM+bhCwpHiuE=; b=Vgl6HVq9DWPsVYsAvqqpO5kXdRuJnR9V102RhEBnqUnBAeESCc1sn8FxngsqHfcImw F3+i6ZHlHcibA2Nlgk9K426M6klqKDx7BcwvCwJxnMt/nuzDzxTtJMGTew+DXXLkxZtY O5HDYCXzGHPTJ/Uop68iNCL/wbQGTbdHtzLB+NwbX/0t2mhBTm4wt/4nj4X0k6iJ3moM m84qCFHAwBlj/NSE+YUvfvF8+zr7teniCiudg5LJkkqbFECiffW2ShYaTFWvopCn/k9V L+1G8T8r5qpawJR3+d2dBSbh9nakOVD7375lmQEIQHrMXJLXEKc+6E/xLDXttvBeixRO gBUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OuyZ0Y4G; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x1-20020a17090a8a8100b002792c288cb7si6057284pjn.131.2023.10.01.10.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 10:25:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OuyZ0Y4G; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D650780B19B4; Sun, 1 Oct 2023 10:25:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233932AbjJARZH (ORCPT + 99 others); Sun, 1 Oct 2023 13:25:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235184AbjJARZH (ORCPT ); Sun, 1 Oct 2023 13:25:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0347C83 for ; Sun, 1 Oct 2023 10:25:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5085CC433C8; Sun, 1 Oct 2023 17:25:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696181104; bh=/swOQu4WrM9h5V3ayN0ly8e8OAOfQ7xAbP4nmr9SmVk=; h=Subject:From:To:Cc:Date:From; b=OuyZ0Y4GvN5NbUziEleJQZViWeeD3JR07haB7CU5+EdT+kZDqhOYO0p74dhn726Wr ImknwXLrbQf6olKjR8BelIkk12IYFqAG7gmp2GM6kMEOe5mU582r26XMXfMtFIQSar RuluB/c4iIa8Tu2yV7568kcGjHivt1Dfej9KO+8/jxMCa8cfjo0X2xYIGDS0ixE1fs JUkuR5Wyc5/ovbl/0jfmHqfZwwsGsOsFnt9SCb89jhzQzfsnF/jBcHg0zdhxcREkK7 iAm0auFH6QXmOh17cv23GaftAXytNs9ExweX2eg2IKUXZmsRXPp1k6iOMEvnQHu6j2 uhN/uNEYtjh3Q== Subject: [PATCH RFC 0/2] Reduce size of stack frame in svc_export_parse() From: Chuck Lever To: linux-nfs@vger.kernel.org Cc: Chuck Lever , kernel test robot , Amir Goldstein Date: Sun, 01 Oct 2023 13:25:03 -0400 Message-ID: <169618103606.65416.14867860807492030083.stgit@manet.1015granger.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 01 Oct 2023 10:25:18 -0700 (PDT) Here's a possible way to address a recent 0-day report. Compile-tested only. --- Chuck Lever (2): NFSD: Rewrite synopsis of nfsd_percpu_counters_init() NFSD: Fix frame size warning in svc_export_parse() fs/nfsd/export.c | 30 +++++++++++++++++++++--------- fs/nfsd/export.h | 4 ++-- fs/nfsd/stats.c | 2 +- fs/nfsd/stats.h | 18 +++++++++--------- 4 files changed, 33 insertions(+), 21 deletions(-) -- Chuck Lever