From patchwork Tue Apr 23 22:55:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13640869 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 EAE8EC18E72 for ; Tue, 23 Apr 2024 22:56:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7F4DB6B0193; Tue, 23 Apr 2024 18:56:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A55B6B0195; Tue, 23 Apr 2024 18:56:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 694496B0196; Tue, 23 Apr 2024 18:56:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 515556B0193 for ; Tue, 23 Apr 2024 18:56:15 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 09501A056C for ; Tue, 23 Apr 2024 22:56:15 +0000 (UTC) X-FDA: 82042306710.10.4C640E2 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf03.hostedemail.com (Postfix) with ESMTP id 9165020013 for ; Tue, 23 Apr 2024 22:56:13 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=et9bn3Ck; spf=none (imf03.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=1713912973; 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:references:dkim-signature; bh=Jo/OjuBX7+Ck/BIUygFAqUDlJfqBAMZkQTNEoiLOR9g=; b=akh6J3YA8M22cK1fHzuVFSFBI8nSfnuQgKQHRg04V/uNB+yWlS4RW4jZhxVQMnctTT9V22 pGfIoNTqY89JFrhQgeMhFLHDbv28hSm0VTLWVMSfrESeneScQUAXJS6ks+pVyFYPpL5Iu0 KLkf7AE6FvLyHTRYUwuk1Gm9+fJj/Vw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1713912973; a=rsa-sha256; cv=none; b=C+H0WznE48j3qz0uEliETfnHg7IROyVOHFJD3rdrHaqV89yzYZpMM2umsYMn91vteVdcfZ aDKTd8Tck4RpxXdqj3/hjb+XaU4bz/ufzxV9ueOJ6pX9QVGu57hrRWdRY5hot8kMloiPo8 b10pdLtHb8VfT5RWR9RexSgKy0vNK08= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=et9bn3Ck; spf=none (imf03.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: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=Jo/OjuBX7+Ck/BIUygFAqUDlJfqBAMZkQTNEoiLOR9g=; b=et9bn3CkzMB3+HnIrCN3Uj3Sn2 aQLlknGrRBNyt2qdPxSs7VeHT1SLo+HbT0YcdFSv3TF/TVQeNP7EeDbic5eG7ZKL3wPS3QKD4jPnr kOSe1jybNRVlGA8HI6UrFbPU+KYQ6CffAi2CuFYJGBn10G1tTPlpcYt+AwWWmVb8P1wwX+PyjUz85 eJbvU3XFouLaJenbcOYHiRaD+ep0u/Zup/j0YriJASlYmqzfp4wlvDxY6m8WdWU9xqGuTgwOv157E JvcDWwo+ll3kG37kovqYhFcOEl0VyrsZ6yelcf5HVgG+QZ19crnhQ3aQNd3s58iAwHsPaWEinppT6 rMLkR3mQ==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzP3K-0000000HG6C-0rHA; Tue, 23 Apr 2024 22:55:54 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton , linux-mm@kvack.org Cc: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: [PATCH 0/6] Remove page_mapping() Date: Tue, 23 Apr 2024 23:55:31 +0100 Message-ID: <20240423225552.4113447-1-willy@infradead.org> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 9165020013 X-Stat-Signature: njk8u5569corr4k3k6wehdjpt46gydi3 X-HE-Tag: 1713912973-279169 X-HE-Meta: U2FsdGVkX18KQFJkzDztVzQBn/2R8yQhXvv+cfP3lQbeHkI9oku/92iawStzVzHCokkhNOMF2r0Sli38X03EECNoK1BKfrOkjqa+CqyPvPRe9PBo4f95PkfctX77U+/noaGlOcemhMWwxmYcC1ASEvVzP7IJzc4JfBeOTOgjpAmGczH6qlnbZykTaF477fTAcfsEXpspMPKoEEVHPs35+zcqA5Z9RpbOjCiKDJ77RsiFax8vFPWEyHoLVrIboZMehLQ7yyQb57TqaHB5S2sfvsbfdXteuynnXsUvkKVNUAHMaYCSWIByHaJ3n3Zv1yhX2+vi9E5Ms1AmvDji1J+RJyAy1TwVRPIX+vT//RDZsEAh0cGYIta6CuWI6EkVdkrPCwJaQlYqLVMsc8znDXXg4IeTuBoRI7Rys8jGgSjZgab15NOlUiCFYh5l1nfb9OqGzGAWGW6nTcJ99YR9yxPuwEBFrZvQy5ssNnE+F3T4JHv63+S7BCozD1hSddyyPJfnd3nrKpMF48sUrJvBLuzK7K9t9m4l8W0FmqoCrPZXwTLhN2UDUx5lhEHSYfKPl4Ip8cSWnu6EzIUgglfLMZ5Vyz/rIaFDz7NG25IjkoTCAYvIn84tYWjvCuW1KeX8IzA+qhKOynPenULEZGNVjFMHSld8jRme7J7yRsSwTV7R6jUdMMwgXVMgeJ4yMBZoux1mvak5ZI2ezTehKwnMlUoQQDUJz/bpmmzdWVmtKbXNDz1k20Gem2RiRBR13jv+TUECvj3fTJd04yrF34k+J5R7CLpmpXpQBAjFIKJPYMBpe6k15mDdRCSPwxKd7wzmCYFvqumPtxqI/OgW3XXQ0ikEqI3NYMEv4mlOPIXmDSeQw8o27CJgDvSCpbD1r3JEPWv5K/wY0WA1t/cpl7CDKeJqXrKLkgT0yy8isVptLorq2958gSJXFvEWZLRfGp06a0n0oaBO7iSCVL6RV3+eolc Rt4ndo1D s+ekl021ktdG8DKOywZ9zYrmCTimvxm+Z/nlNCdCsPX8jNrLX/vH2KSBArEM36t3DBZ1RzdmnzMVnPz3tSuAJQT2BZfQoPgPv1IClD+pI2z7bFU4YeDDQ+sflL/T+HsNDi3CMp8ervLpuP3EEm8vXFDRWEQpYPMY4bYXK 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: List-Subscribe: List-Unsubscribe: There are only a few users left. Convert them all to either call folio_mapping() or just use folio->mapping directly. Matthew Wilcox (Oracle) (6): fscrypt: Convert bh_get_inode_and_lblk_num to use a folio f2fs: Convert f2fs_clear_page_cache_dirty_tag to use a folio memory-failure: Remove calls to page_mapping() migrate: Expand the use of folio in __migrate_device_pages() userfault; Expand folio use in mfill_atomic_install_pte() mm: Remove page_mapping() fs/crypto/inline_crypt.c | 6 +++--- fs/f2fs/data.c | 5 +++-- include/linux/pagemap.h | 1 - mm/folio-compat.c | 6 ------ mm/memory-failure.c | 6 ++++-- mm/migrate_device.c | 13 +++++-------- mm/userfaultfd.c | 5 ++--- 7 files changed, 17 insertions(+), 25 deletions(-)