Message ID | 20230121065755.1140136-4-hch@lst.de (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 81A65C004D4 for <linux-mm@archiver.kernel.org>; Sat, 21 Jan 2023 06:58:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7FB876B0075; Sat, 21 Jan 2023 01:58:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A75D6B0078; Sat, 21 Jan 2023 01:58:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6964D6B007B; Sat, 21 Jan 2023 01:58:14 -0500 (EST) 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 54A3A6B0075 for <linux-mm@kvack.org>; Sat, 21 Jan 2023 01:58:14 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 7B62E1C6798 for <linux-mm@kvack.org>; Sat, 21 Jan 2023 06:58:13 +0000 (UTC) X-FDA: 80377902066.29.FF4B63D Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf29.hostedemail.com (Postfix) with ESMTP id D095812000A for <linux-mm@kvack.org>; Sat, 21 Jan 2023 06:58:11 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=EFQReJCG; spf=none (imf29.hostedemail.com: domain of BATV+1651c3ebed9361b307e7+7090+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+1651c3ebed9361b307e7+7090+infradead.org+hch@bombadil.srs.infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674284291; 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=g004efh7mFIQFWAsl+3c2q8E/FcH/R7MUAbwiN542N0=; b=1s+b//6DGl0+03nG/w/U+zrwgpR9Pp9eZ6XL8kC/yJk5RJXpvSgeQtwCJO0L0shcnzbTuK zWG2yF8Rx0UwClKtMFU+K5Kavj8VY2M3SucLpDwY00j6aIVDip9504OEJQDGf/MgIC4W4A a0GPxVfOKO1uEGPFPe2030hwRQA7Wv8= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=EFQReJCG; spf=none (imf29.hostedemail.com: domain of BATV+1651c3ebed9361b307e7+7090+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+1651c3ebed9361b307e7+7090+infradead.org+hch@bombadil.srs.infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674284291; a=rsa-sha256; cv=none; b=DgkBi8UH1vfRX9PNyxwIZ55pHZtX3zYLhqoalEtdcCq95F1eHp/r+8cAgm+WjNX1DHrzGI Gx9N8J7ncPeUUODlGtM4N7Z4AzU1u3LfihIxazYQajmRxgW+qFo439UXfcLlvQg7zM63Bw lExCjnEUH+9aYandy90iDJIzupVcgaY= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=g004efh7mFIQFWAsl+3c2q8E/FcH/R7MUAbwiN542N0=; b=EFQReJCGAHigmumIVdPSAnGEMd 0BEyWnOTe6MMfLiZZZWSDU+kxTtOtBdnWxlmMO4ZVIhfVXKjivQaQoR24A6MscZ8gbOXsIN1QbDFY YQiGUX4r74o04uv+ms2CIVnYZd/hAbX2FbOT9TN0Sq045YI7N30YhMyQz/kHHKPeZ5O0O5DABSOTj o815QuZz+UAg2PTh9fDIUapX3xSlFSHFfpu2Y+3GS5lPoUXtvTXVIOWGw3Y0HjO4mgvlsIMl6Bv1E sQkL6QPK80o820hufzXGWywa5Xslcbu0/FrdUhfoLA4GaPF9TiVQhE7w6/kHBSsT8UG4o36gVQpWT HBvPxLxA==; Received: from [2001:4bb8:19a:2039:6754:cc81:9ace:36fc] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJ7pF-00DSNS-Go; Sat, 21 Jan 2023 06:58:06 +0000 From: Christoph Hellwig <hch@lst.de> To: Andrew Morton <akpm@linux-foundation.org>, Matthew Wilcox <willy@infradead.org>, Hugh Dickins <hughd@google.com> Cc: linux-afs@lists.infradead.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, cluster-devel@redhat.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nilfs@vger.kernel.org Subject: [PATCH 3/7] mm: use filemap_get_entry in filemap_get_incore_folio Date: Sat, 21 Jan 2023 07:57:51 +0100 Message-Id: <20230121065755.1140136-4-hch@lst.de> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230121065755.1140136-1-hch@lst.de> References: <20230121065755.1140136-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D095812000A X-Rspam-User: X-Stat-Signature: rr3gzqwpid4rz1rpir1yct7qgu74fabb X-HE-Tag: 1674284291-502038 X-HE-Meta: U2FsdG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V/quMFrbbHGmIGb7enp6Tq7rDhmsKUHbukZqoOhlEA9cwRQMKcLMzYotW7rHrs1FAbevXCaAREonehYPZMvR3DFv9XONnExBdPII+LTVtfQ2xWI96U97CPWlvnbKZ4B+RWHUdVm7Q0ynsSau/O1js6NaOoJZasycF5lnF1Vt3mg3mawZm/OthltZXZwGze0kSNijLG/CQMZj8d2W24/9LtzTOgjkzhiKDYfZAlTr4yuWn+gsXvhw1MN+I2TiC3oIq4bsymf6jeks9EInpXXAeaexH4pWJWXWVDzZr9tJdEp7TmWt58wnoyMxykXG7nzT3YfWVEXbCx3BTaHqCh9AUpppkqJ6MEqT3bMa8X7rn1uPTAP+4D1cLtZwNpB7pHOHihZz/grdTFXfFpitPJ3Q3Gi1+JuO7YXMBQKBHfbr1+OL5Oiq0sFGiXM0M 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 |
[1/7] mm: don't look at xarray value entries in split_huge_pages_in_file
|
expand
|
diff --git a/mm/swap_state.c b/mm/swap_state.c index 7a003d8abb37bc..92234f4b51d29a 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -386,7 +386,7 @@ struct folio *filemap_get_incore_folio(struct address_space *mapping, { swp_entry_t swp; struct swap_info_struct *si; - struct folio *folio = __filemap_get_folio(mapping, index, FGP_ENTRY, 0); + struct folio *folio = filemap_get_entry(mapping, index); if (!xa_is_value(folio)) goto out;