Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17044701rwd; Mon, 26 Jun 2023 19:57:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7LDM2rwGSLunopeCfO/cPWuhtahvfmPXBUHshwUGJtJiISF9oIVZQYskv/IOd7lcj/qR8U X-Received: by 2002:a17:907:160c:b0:991:e849:e13b with SMTP id hb12-20020a170907160c00b00991e849e13bmr2580838ejc.10.1687834633490; Mon, 26 Jun 2023 19:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687834633; cv=none; d=google.com; s=arc-20160816; b=LRuNiRD8pJp3VVCiQDbkbscQxaDmAHB/YCnKh2yGtaNY1RmFE2wMSAPgGfEs+HxItk ++1J1+aLafOKpAvvGsD3fVHDjCNbtZySq6F+JzFy9pLdyMofhEczCL2x/HR1iOncsROG GN4Rkd1MLsbWPM1BXRVZu5pxYD3dBFY0211Vrq+Bal6XHRAakx/TOFWDL4kT888Ckyk9 Zlj7/uOJTqFETxSAjdi5M68GRT23Mzv721/LOlmssPkhWT69mxFRwOi2JSFQ+NP6IBew sXCY+jn1LjJmu08SvomChGe2ekpPexNQxLCdbVcwP42bcw3vTDhfvQr48xvf0h+AvM72 RkiA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=38qafIfwmej2yIV1ZeFe4J/KUFbio8gHNCs5CXunBVc=; fh=/s47CaCEDhlW7/xNltsO0ZLgxGiv87pyxqiGY+c1ycs=; b=dIz3RoJ7B0OIefWfhAKP9UwjNQXpeGmCNfdDSSJcnUzSSZLDsTaLMSJLb6GvCnVbwX BpxSmqZnNlGopqy7AyD2/Ztoq4R2v6/8lx8x8vVVpus3uEJn7ad1cwX72y+BXSFRLPdJ 0LvZrITF1m1QqJq5gdYaQPa7JjE+iotw06xxowIDkE8KUW+um2jFpc9Z+1OkxwqQAnJ8 AtrKWNpQE88aRIaTy7Gcu9iEI6hxnuG9+XWeOk5ioVnEhg1AmgQzj+XEWIPS5md8t94g IyaZYJz7bGAR3Sh7HexkOQ9txkf3GRle5veeC69g1xnX3wMdAm3vt2V8fr9CCZs/+Gi/ FwWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="NSs/CdCJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y5-20020aa7c245000000b0051843062054si3302214edo.66.2023.06.26.19.56.49; Mon, 26 Jun 2023 19:57:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="NSs/CdCJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbjF0Cdq (ORCPT + 99 others); Mon, 26 Jun 2023 22:33:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjF0Cdo (ORCPT ); Mon, 26 Jun 2023 22:33:44 -0400 Received: from out-34.mta1.migadu.com (out-34.mta1.migadu.com [95.215.58.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E91519A2 for ; Mon, 26 Jun 2023 19:33:43 -0700 (PDT) Date: Mon, 26 Jun 2023 22:33:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1687833221; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=38qafIfwmej2yIV1ZeFe4J/KUFbio8gHNCs5CXunBVc=; b=NSs/CdCJGB5SpYsfV+H44QeRwHi2yIisRly7GRzJvDcW+4keYpPOHE3G2O1i7rl0EJuUQL oePr6bXLyCH7dcUbPXg6L8qFk+3grgsfdQMHGp7MeJf0SupJHlB6zVKEBS4hScZRtthnWq NzLTaicV8FLEbJR5v/Iri4EFKI7kM/k= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Jens Axboe Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-bcachefs@vger.kernel.org, Christoph Hellwig Subject: Re: [GIT PULL] bcachefs Message-ID: <20230627023337.dordpfdxaad56hdn@moria.home.lan> References: <20230626214656.hcp4puionmtoloat@moria.home.lan> <20230627000635.43azxbkd2uf3tu6b@moria.home.lan> <91e9064b-84e3-1712-0395-b017c7c4a964@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <91e9064b-84e3-1712-0395-b017c7c4a964@kernel.dk> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Mon, Jun 26, 2023 at 07:13:54PM -0600, Jens Axboe wrote: > fs/bcachefs/alloc_background.c: In function ‘bch2_check_alloc_info’: > fs/bcachefs/alloc_background.c:1526:1: warning: the frame size of 2640 bytes is larger than 2048 bytes [-Wframe-larger-than=] > 1526 | } > | ^ > fs/bcachefs/reflink.c: In function ‘bch2_remap_range’: > fs/bcachefs/reflink.c:388:1: warning: the frame size of 2352 bytes is larger than 2048 bytes [-Wframe-larger-than=] > 388 | } > | ^ What version of gcc are you using? I'm not seeing either of those warnings - I'm wondering if gcc recently got better about stack usage when inlining. also not seeing any reason why bch2_remap_range's stack frame should be that big, to my eye it looks like it should be more like 1k, so if anyone knows some magic for seeing stack frame layout that would be handy... anyways, there's a patch in my testing branch that should fix bch2_check_alloc_info