From patchwork Fri Jan 21 19:50:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12720190 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 27688C433FE for ; Fri, 21 Jan 2022 19:50:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8A6566B0080; Fri, 21 Jan 2022 14:50:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 855B46B0083; Fri, 21 Jan 2022 14:50:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 744E16B0085; Fri, 21 Jan 2022 14:50:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0242.hostedemail.com [216.40.44.242]) by kanga.kvack.org (Postfix) with ESMTP id 61D756B0080 for ; Fri, 21 Jan 2022 14:50:45 -0500 (EST) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 19D5D95274 for ; Fri, 21 Jan 2022 19:50:45 +0000 (UTC) X-FDA: 79055336850.21.828E887 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf21.hostedemail.com (Postfix) with ESMTP id 4FC7B1C0006 for ; Fri, 21 Jan 2022 19:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=TyT88I4wWo0H5jlbMaKdshZBKvPf77PgLxaHtxYK8JA=; b=ZtB1cDSaqZJ/nrSg3lbUv2BiX+ 6IoK9zkmlTprFALbS1fdyZKqArhidYaFX5UEh5Smp9/MPvEy6hPCXGJaRZd1OFBydSAaUi6ZnWSSo 37MvjMP+duhZHLjES6dZfMhKMiuzXGB4CGQrmwCsrMOujBDIWliYsOaOAkz2238r7n9+njA4MtPkI sFcKg4LHZMm2JlSBrVePfYvIlIjcvpvPqvsgkC2BqFpDN/Sux6sUXYrDcYD+2STXdJo7966wt0KOg Flz6COw+KT9JxwX9tfqI2NTL2s8cedoCGsCGvcQLN9mjajpn0FrAQU+d86/qlDoAsZnEB+gXG03f6 FHYUnERg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAzvk-00Fs3E-25; Fri, 21 Jan 2022 19:50:40 +0000 Date: Fri, 21 Jan 2022 19:50:40 +0000 From: Matthew Wilcox To: Linus Torvalds Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Three small folio patches Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 4FC7B1C0006 X-Stat-Signature: uyiu9x48hmucdowpo3dubtrka5qx8yrs Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=ZtB1cDSa; spf=none (imf21.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none X-HE-Tag: 1642794644-955173 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: The following changes since commit 455e73a07f6e288b0061dfcf4fcf54fa9fe06458: Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux (2022-01-12 17:02:27 -0800) are available in the Git repository at: git://git.infradead.org/users/willy/pagecache.git tags/folio-5.17a for you to fetch changes up to 3abb28e275bfbe60136db37eae6679c3e1928cd5: filemap: Use folio_put_refs() in filemap_free_folio() (2022-01-16 19:52:13 -0500) ---------------------------------------------------------------- Three small folio patches. One bug fix, one patch pulled forward from the patches destined for 5.18 and then a patch to make use of that functionality. ---------------------------------------------------------------- Matthew Wilcox (Oracle) (3): pagevec: Initialise folio_batch->percpu_pvec_drained mm: Add folio_put_refs() filemap: Use folio_put_refs() in filemap_free_folio() include/linux/mm.h | 20 ++++++++++++++++++++ include/linux/pagevec.h | 1 + mm/filemap.c | 10 ++++------ 3 files changed, 25 insertions(+), 6 deletions(-)