From patchwork Sun Oct 1 17:25:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 13405448 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B63A3E748F3 for ; Sun, 1 Oct 2023 17:25:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233932AbjJARZH (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org 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