Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp182495iob; Mon, 2 May 2022 16:30:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/IdHDEsFjV5m08w2GaxPrEtN1/mStX1UpPxLp1cuhPMjUw7EhJp7cfywfyu3esRMkAJCw X-Received: by 2002:a05:6a00:2181:b0:4f6:f1b1:1ba7 with SMTP id h1-20020a056a00218100b004f6f1b11ba7mr13471724pfi.73.1651534240024; Mon, 02 May 2022 16:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651534240; cv=none; d=google.com; s=arc-20160816; b=bUBZjvZO+GP1ULvEAynXzNLsTQ1ZsYV1Ol3J9DDzeqbmuACcVGl9hSs2b3hpHHFLh1 Lh9GlXCCNjWmgAiFGvyoUdK7CTkd/hJ0FN8drFxyVaIro8TZgrAqVwG8ZpNRyYbE76tx LAMA7u9P1JR5QENzCE7D12yrIfD3gG1LjJBXpYCy5rMPE7xiiQCCkQABG9qc/0bZ6UKo jx1D+uIf833id5yQwtHeY6xlHtRApIExjFbporym1QpdgyV+7MVOcGE5U9mZPRqHGVPW rxTaj2ubPBWYLUOmMqDeDP1ss1/GWH1Tj4Q1UymJ0hw3Sfsn6RV6GobW/bmurvlG/5bp fuwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J5sVrLkwsFkT6KEliK6g3TDBeW0J/n3HqdK/aGSsNNs=; b=DrrsRgGhZ9hY3HXgoxKX2Ox/AczMnL03liDoNY5TcgYgC9zc/RxxGlK10p1/WkK5HT rO5YelaUwFq+VRBgDDcmFZ3VEWHiaGHJXbmpgCYgDVobn6fidHeBIcdF1Abyh38t5hA9 rGuqysx+s4nKQjUsCurW/MBFcuCmflGbicoeNhL6rzl5tYgQHqsYOLuQSWhyAvnAOcFx IIKekRfzBC3Q+n5l87tZ2IagRlIjrDj6ACU4MpTzw3zL37Tc/6Sj/PqI4PwQpzawwtUX 1r5dzQLSVzKKZrBgHJD1me/3UhU2HJuME6dCn2NGF8VOsu5S9211ckrpME+T8UkF5UHN LTqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tL1nasUa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s11-20020a17090302cb00b001583bf0d403si15212583plk.202.2022.05.02.16.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:30:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tL1nasUa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 71A1431901; Mon, 2 May 2022 16:30:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379906AbiEBSDv (ORCPT + 99 others); Mon, 2 May 2022 14:03:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386778AbiEBSDt (ORCPT ); Mon, 2 May 2022 14:03:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 875CA32F for ; Mon, 2 May 2022 11:00:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 497DDB81999 for ; Mon, 2 May 2022 18:00:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91B65C385AC; Mon, 2 May 2022 18:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651514414; bh=EubwGzbfbBYKRz56gIaYdoiNqVKpVK+pxTm8DS7GvNQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tL1nasUabAClUQj0vHyo9fmQaefv0v2UsPdxEM3b0Q8C0HKe4ClW/DuFLtRjZBCyG iGgar/NCR1lRDQ+YQLFTlzfxhPK5r4YHIJLksmJEw+8DThHWXrsJq5BP1bbg0uxATm wKqevIxCY3B1AIdhwtGqBbrVJJ2x1tttTN4mEqqo8E8x63+8BQJpVp/WnaetpjQ7TL eo7055YbMDW/DEZBjbSIIEltuKEkzzZwb6zol1WvbKsKw62UuFilvQsQpG6F/jd21o EejZj0JkfdxFK2Ds/eMAXYAMw6jbuB9NNKCsQHIqolYPWYRlmXJUM7ZgCzS60fxFf0 WqdeI0KfZ9jIA== Date: Mon, 2 May 2022 11:00:12 -0700 From: Nathan Chancellor To: Matthew Wilcox Cc: kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [willy-pagecache:for-next 60/69] fs/ntfs/aops.c:378:12: warning: stack frame size (2216) exceeds limit (1024) in 'ntfs_read_folio' Message-ID: References: <202204301355.hFVoSOPa-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 30, 2022 at 10:36:13PM +0100, Matthew Wilcox wrote: > On Sat, Apr 30, 2022 at 01:11:43PM +0800, kernel test robot wrote: > > >> fs/ntfs/aops.c:378:12: warning: stack frame size (2216) exceeds limit (1024) in 'ntfs_read_folio' [-Wframe-larger-than] > > static int ntfs_read_folio(struct file *file, struct folio *folio) > > ^ > > 1 warning generated. > > Am I getting this warning because I changed the name of the function? > Or did I do something Bad? I assume so. There have been other reports of high stack usage in this function, which it seems Arnd narrowed down to 64K pages (or 256K pages in this case): https://lore.kernel.org/20210927141815.1711736-1-arnd@kernel.org/ https://lore.kernel.org/202103280658.kByZmw5Q-lkp@intel.com/ Cheers, Nathan