From patchwork Thu Jan 13 22:08:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 12713153 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EF30C433F5 for ; Thu, 13 Jan 2022 22:08:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 766CA6B0072; Thu, 13 Jan 2022 17:08:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 716A96B0073; Thu, 13 Jan 2022 17:08:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 605456B0074; Thu, 13 Jan 2022 17:08:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0086.hostedemail.com [216.40.44.86]) by kanga.kvack.org (Postfix) with ESMTP id 54ACA6B0072 for ; Thu, 13 Jan 2022 17:08:26 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id E692D944CB for ; Thu, 13 Jan 2022 22:08:25 +0000 (UTC) X-FDA: 79026653370.23.6EC4A0F Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf17.hostedemail.com (Postfix) with ESMTP id 2BFCB4000B for ; Thu, 13 Jan 2022 22:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=ObkbUowJj9pU6tYM19V7wYeIf7IaR9PcGIW4/UXvp5Y=; b=myfNmQp4ZFoxoumjDgODhaPx9Z BV4TLrLYOBbqxy3tzDdgqugD7fQxJcjKYhKWYCyKRMxFU0dfu7U0N9vJIAkjq2H1A9WQV302MUfmX 2IJVwSkiHRx4cQE9hdF06SYio2Axk8HjvfA8ocEC88hwtGX4NPfnsYypdXDGEmwySvR7xDfWljVy6 hPdHjWdjp+t6mg6Uo4NSQmpGviFyTcZ+iovB/ae5lGxY/Sy+fCLkt8FHknmfn72K7MVJqg1DoRE5w cYms2ci277dZLR4NaNdlDllnkPhYVQtJ6OY40yQpfZTU7vhI81LeV89JpBtPtUyaDwJCqHFDkOq7p SjNV83Jw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1n88Gc-005HEU-9o; Thu, 13 Jan 2022 22:08:22 +0000 From: "Matthew Wilcox (Oracle)" To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH 0/2] A small folio API enhancement for 5.17 Date: Thu, 13 Jan 2022 22:08:14 +0000 Message-Id: <20220113220816.1257657-1-willy@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=myfNmQp4; dmarc=none; spf=none (imf17.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-Stat-Signature: hc1czz9sa5nn36gnds5di9w1p8f7xuad X-Rspamd-Queue-Id: 2BFCB4000B X-Rspamd-Server: rspam12 X-HE-Tag: 1642111704-452060 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: It turns out I want to use folio_put_refs() in two completely different places (which would likely be in separate pull requests) for 5.18, and there's a useful place to use it in 5.17, so I'm planning on sending Linus a pull request for this pair of patches next week. The reviews on patch 1 come from the folio GUP reviews over the last week, but I doubt I've shown patch 2 to anybody before. Matthew Wilcox (Oracle) (2): mm: Add folio_put_refs() filemap: Use folio_put_refs() in filemap_free_folio() include/linux/mm.h | 20 ++++++++++++++++++++ mm/filemap.c | 10 ++++------ 2 files changed, 24 insertions(+), 6 deletions(-)