Message ID | 20230802151406.3735276-31-willy@infradead.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 42F5FC001DF for <linux-mm@archiver.kernel.org>; Wed, 2 Aug 2023 15:14:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B2932801A0; Wed, 2 Aug 2023 11:14:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 260E628019B; Wed, 2 Aug 2023 11:14:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E215F28019B; Wed, 2 Aug 2023 11:14:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id B9B6628019B for <linux-mm@kvack.org>; Wed, 2 Aug 2023 11:14:18 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 6299B120F95 for <linux-mm@kvack.org>; Wed, 2 Aug 2023 15:14:18 +0000 (UTC) X-FDA: 81079510596.05.3171CC6 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf24.hostedemail.com (Postfix) with ESMTP id 8D35F180010 for <linux-mm@kvack.org>; Wed, 2 Aug 2023 15:14:16 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=pdlgDleZ; spf=none (imf24.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690989256; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=QeDCABsAWpOx649ozVbfmv9UCtQh/TSjAvda51zdKvQ=; b=fn4kCGCTJbGo9aDtKWkGeYTbFx3N5v948W2QkyNI6B2JnMQ7lkCnpWRrlDkGxoVJOsPKpM 0EhcI/IyBQ/ClYeYwIKo+b3M1PSfpQRUHfkuI/9tna9B0PlgTg+onlFEgFbXm680WRqC8v EWhF+YuxStr0ZfkzIh9BHx/MFm1ruRw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690989256; a=rsa-sha256; cv=none; b=WZDUHmyYlZalZjuYrFwgrFOeKajr8jU1Z3RF870gtApCD9DrI74s7Dffx1favDuF6AtIN6 FYewZq2jv2sDQy6COGbYVGHoH56jq8lEIMYtWS5dQ649WAlUFkALHmQGSCwEN8zQly4FOz TbZSmP+zzQqnXLdCLSs1y2NJlRSvNi0= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=pdlgDleZ; spf=none (imf24.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none 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: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=QeDCABsAWpOx649ozVbfmv9UCtQh/TSjAvda51zdKvQ=; b=pdlgDleZUdpe0s2vgiqF1JRXew RxlXvTviSK63Rg5cFBeKiH5bUPEQucNliUguVeMyeUW6BBrpyGtKchmRvKBDrcryN9cBY1/PnvsB2 SXkF0Kcu4LH9AhS7mVjXmL1533HUtRgwR3/gmskJoj90e+5Kw21PpL6/TRpbmLpt6lKBPXeejcd5z 2mWnEuvGJdjhoc9F4U1oO00CLDJTYYcyOKIwOsU6jzQPd8GM/fMpzifpxCfkLVRKZ6CQmegeQsPDw XS5E3s5PQRJfLKaj66flU3uPUzSoFWUQ6E7mHR26uvkOiitMX9BkU8ZTqCrgPim8kyx+ynaJJpgKa y6uqTg0Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qRDYB-00Ffl6-CQ; Wed, 02 Aug 2023 15:14:11 +0000 From: "Matthew Wilcox (Oracle)" <willy@infradead.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Anshuman Khandual <anshuman.khandual@arm.com> Subject: [PATCH v6 30/38] mm: Remove page_mapping_file() Date: Wed, 2 Aug 2023 16:13:58 +0100 Message-Id: <20230802151406.3735276-31-willy@infradead.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230802151406.3735276-1-willy@infradead.org> References: <20230802151406.3735276-1-willy@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8D35F180010 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 3h1yi96es1ec48akd7fcixt3qha7ou8d X-HE-Tag: 1690989256-675346 X-HE-Meta: U2FsdGVkX18we/0EDwuCtqo5iCjfIy3EMkJ2ATl/sxaxE+PcU/YdGTATc9IwJQJ2JrAdef3llZfO6zOBBJAvYDf0ZdHEihIgzva41uINtjg0huW61XTaBzYEmoG68unRjnkegOTHYHlzLfk3BNISxBYKxZB3SXgsqsqm5uPL4JkQvohfB7cqY9in1QtgpaeyRf0Y1JXxKlZZHb3kqmyYVaTrvtAe14V69/+/cfr5/JOQry2SEUlv/LLmJ8JPUPd/jlhyK63TUUm7p1t/ysdSEuoEH6OF3KldUANrkytpfnsBxQtBWlJuKrDuDJ3IaMMyIykqby5v9mKlaa1nWledZHHIGohfHXa3HC82HG7pi1P4MtJQqU2DDm28isD386dbnvcrCF2yx35L27JmtBT4bYyYYrDWVyAdELr1nBLqGigLGJyBNRMbyFQoWnfzF0MazmikVKhto3NPH08Ak3Ove4586nOvT3lV16Md5nqXsx7zx3i9+T8fkJFqitS3kL+KAxv0hpyxY02J7zBraeE8LHK1hHNSz7yA+4uLARWb3nlXt/QntDkwcdfjO/rS4WGcUisyIRjX3qA+MXGVe1t6SkQhTHXfLTvpkhww5nrT47PJCxsZZRKf/KhoXhPtsQwYrBH0og1qegbNmx49+rYwmLlZiHAifHoPk1pxvAon47wzExV8CUoNdNYtb/MppM+ugwc8gpSrCYV9IdA755zI8rX87KUGGZk02QowOShigtmRkgPkB+vD3JhF3Tf6aJL2gOipxnedDY3d9gmR3FpdoR1uhAjg8bQn9m417t3YoVe9vjDcSFrWdnUTsgPvxILZlomScLDkweHeP3LY6QpB39OuBntAdTo0cB8npdW/RoSOLPSienXtv1Gc1VZEK2pDzABdhWeNu9YE5Kd0x+yVgNv/sGUismzvuTFCBSt0HsZWScIQOA7KkY40Y49mrp3VMPadZNXXqJvLJ/G+qwI po4carTa V5KDQtgZ3vwNiUMOeZA39JMHAr3yN3vgNLw6z1VbAUG7Wxy9IjvHKnKVaNK1Ffps3CMfUgPORSXUgCVbXaxS5ApFUkjhqLRVNRoo+vGR/xzRfpk9K6vn0zh92hw4K/3pbjUyRLBh6urOphB/klq7WZS+JTu69Z9NVPeJbxLSRCBSZdVnlpGpro7cXsOR8CzAYOPTW2Es0DMdyNQoNdwYu3EUo2h4TVpdloEVkWwtpw70vE+DyZ7HepSBbxkR/qSy5ysHke2imvzqEqTCRMP/Lr7IRzcr2zkbEYxPR 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: <linux-mm.kvack.org> |
Series |
New page table range API
|
expand
|
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index bd522a64b714..6f8d6529b350 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -414,14 +414,6 @@ static inline struct address_space *page_file_mapping(struct page *page) return folio_file_mapping(page_folio(page)); } -/* - * For file cache pages, return the address_space, otherwise return NULL - */ -static inline struct address_space *page_mapping_file(struct page *page) -{ - return folio_flush_mapping(page_folio(page)); -} - /** * folio_inode - Get the host inode for this folio. * @folio: The folio.