Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17120781rwd; Mon, 26 Jun 2023 21:24:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56YEhE1g0Ppkhf+EAFtb+nfyJxN7E7NzetaKmUW3xkFxgcjtfXkL/BQOg1Ujrabv/KfzKO X-Received: by 2002:a17:90a:7446:b0:262:fa59:2908 with SMTP id o6-20020a17090a744600b00262fa592908mr5480982pjk.1.1687839851010; Mon, 26 Jun 2023 21:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687839850; cv=none; d=google.com; s=arc-20160816; b=mwrspn6k3ds35qUG550b2iIWU40/wScfJGxyJMx06Aqctaz0nI9Y5GEaJQbSQ8jTkp tLKYf+jRanTBcxP0d8CRFMCQZ0NlE8FWBCZeGoqe8zt18MwjkBhUDMKXolVzhjELYo1v PEaHiBdP0+laNgdgLPyUxwkKPK07RfwRjdRFnz+f1MvGJfUBqDIJyYJBUhHgNy24Torf NvF3v4DlIwZq0dvWe1Jr0bHomVvaM70RfmsXzFBrDLfnKdZlKrV/jWmBSvCAO3x8j1Ow QIjos7GBd5SoRa0fYTu6a7p5ndbeZCvfhPudlo11eeQ65uBG8exzIpk9HyonYyYS+UvL usTA== 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:dkim-signature:date; bh=mlefwmcwlBiIz1SL7AHM35ngFtI0vXcN9OG4RXXLfCk=; fh=6wAJYpvayhb4yEcJXCLWlbPSJwe2hP6y1rBVPuwNtVU=; b=DeHVrRImmEIk+hubDlR37wNF2KaTI2K35VaqxEYH10tO2rhe7aq3Gq8Vt6WPhmvlgY s7IiVg708+fJCs2/WD8/N8N0YoU86i4RM7Da4+EW+UN79VmljWVoaAfSq1/G4W0wHrca i7vVLSbqHtYZs3uNnoX/4OEfUb323P9zS4X0tJ0sOWYcoRlXxDjSurmruCyBsSkePDnH RzfKI2R9a7/3iu/WZ8UnjTZ5XpHivclBFaaexCF965LPDCPHmSyg+npgSROSqGMeP6yU VxNPBx0K0KVW3X+nNXFJezG0jYm1UbIOeEHCQTV1E+YhGZPSwxgrt+bBSilymCS5QM8V Hajw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=jynnjyA5; 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 y64-20020a636443000000b0054fd88c3598si6259099pgb.35.2023.06.26.21.23.58; Mon, 26 Jun 2023 21:24:10 -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=jynnjyA5; 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 S230063AbjF0D2s (ORCPT + 99 others); Mon, 26 Jun 2023 23:28:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbjF0D2M (ORCPT ); Mon, 26 Jun 2023 23:28:12 -0400 Received: from out-62.mta1.migadu.com (out-62.mta1.migadu.com [95.215.58.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D7119A2 for ; Mon, 26 Jun 2023 20:22:12 -0700 (PDT) Date: Mon, 26 Jun 2023 23:22:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1687836130; 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: in-reply-to:in-reply-to:references:references; bh=mlefwmcwlBiIz1SL7AHM35ngFtI0vXcN9OG4RXXLfCk=; b=jynnjyA5Iv8xnjGJ5+Hf+1gDzVymjLivJnXkZoKFv8ofDXrG0JuqRs9iB3m2BIOOyQpG7D cN6reE4qZiX1Xb8EoMF1v8vqcw7S2rWDlkzpDxLUqJ0FF41ISIzXSxcv5T634Gq9HvYcR1 QQ8yO2h2VOUZqAacCiV5yMypmN+Q5cs= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Matthew Wilcox Cc: Jens Axboe , 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: <20230627032207.ix7zj6f7zb6owb3k@moria.home.lan> References: <20230626214656.hcp4puionmtoloat@moria.home.lan> <20230627000635.43azxbkd2uf3tu6b@moria.home.lan> <91e9064b-84e3-1712-0395-b017c7c4a964@kernel.dk> <20230627023337.dordpfdxaad56hdn@moria.home.lan> <784c3e6a-75bd-e6ca-535a-43b3e1daf643@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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=ham 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 Tue, Jun 27, 2023 at 04:19:33AM +0100, Matthew Wilcox wrote: > On Mon, Jun 26, 2023 at 08:59:44PM -0600, Jens Axboe wrote: > > On 6/26/23 8:33?PM, Kent Overstreet wrote: > > > 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. > > > > Using: > > > > gcc (Debian 13.1.0-6) 13.1.0 > > > > and it's on arm64, fwiw. > > OOI what PAGE_SIZE do you have configured? Sometimes fs data structures > are PAGE_SIZE dependent (haven't looked at this particular bcachefs data > structure). We've also had weirdness with various gcc versions on some > architectures making different inlining decisions from x86. There are very few references to PAGE_SIZE in bcachefs, I've killed off as much of that as I can because all this code has to work in userspace too and depending on PAGE_SIZE is sketchy there