From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2E5D309EFF; Fri, 30 Jan 2026 05:14:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769750076; cv=none; b=q8BuOBSrQ97rECkkb2CGJ17rf+4JYvSek3GH2G+lhN6USTv/uNoD41yowz7uJH1FtMhKzMeS3rb/CQ07lLqkx961qEVwDPgsiNG+WbK81IRLjaS7wvwF+VOpkxk46f/wqv14r19QaR+M4qbZtCJDkEh9d/fjYsjE53zFo/PwCq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769750076; c=relaxed/simple; bh=cq6DH+bxh7akNUaBSrNTANflbfENCcjsCJyagr96N80=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=asoPbftodrY8AxBWX+2WrxwC8Umd7h7VBx27XLjMa6ldMcmIHn6l4BrbNn6kP2KPqlAKCX5azS2RIU7izU4S7oHdfzpjKJc3ydAbcjWEF2TT6T8GLX/bOkgeE6A4rly37qA9cu45yNEJLmXn/XKPlH3Eo5EZ2irEAtwi6Tft1Pc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=r03nDq/s; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="r03nDq/s" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ueh0ic4T36q/iEhfckOEc49N99W/3h9BCo9Ibq+JFg8=; b=r03nDq/s/B8Jz5vTLg/Nn5yrkE jMXzM9hcJ+m1X27uiSZwlpki/dmOtNaRFWVAYEiTj4VGtncjSQYK927ZzpTT/c7SSsnw/zkNOm2ye iMV9gd61UMecpAjlHUy2s8rHPyFILnOmyK74BdxiGjsnufOlXIMJLWJWi8spyWQL0Q6y4HItPsNOn rtYoQWmXDMhvM5QxAGYzQyc2F+mRy29tWP7/Qg7neZ98FaWEOJD41BJC++gFvVwOocc8kF0ItYyqj aw53GElmWZpLi4VGZV5Et/q59NGcoPqoFEJZu5xalXMgjFTtLvya3GNiHGyZHX/SivDE2iN1Oklt5 9DRjryhQ==; Received: from willy by casper.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1vlgpv-0000000BhUd-05Yh; Fri, 30 Jan 2026 05:14:27 +0000 Date: Fri, 30 Jan 2026 05:14:26 +0000 From: Matthew Wilcox To: Qu Wenruo Cc: JP Kobryn , boris@bur.io, clm@fb.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, "linux-fsdevel@vger.kernel.org" Subject: Re: [RFC PATCH] btrfs: defer freeing of subpage private state to free_folio Message-ID: References: <20260129230822.168034-1-inwardvessel@gmail.com> <776e54f6-c9b7-4b22-bde5-561dc65c9be7@gmx.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <776e54f6-c9b7-4b22-bde5-561dc65c9be7@gmx.com> On Fri, Jan 30, 2026 at 01:46:59PM +1030, Qu Wenruo wrote: > Another question is, why only two fses (nfs for dir inode, and orangefs) are > utilizing the free_folio() callback. Alas, secretmem and guest_memfd are also using it. Nevertheless, I'm not a fan of this interface existing, and would prefer to not introduce new users. Like launder_folio, which btrfs has also mistakenly used.