[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <69bea6b9-e9e7-4d17-843c-001029d4f2c2@redhat.com>
Date: Tue, 17 Jun 2025 11:35:13 +0200
From: David Hildenbrand <david@...hat.com>
To: Alistair Popple <apopple@...dia.com>, akpm@...ux-foundation.org
Cc: linux-mm@...ck.org, gerald.schaefer@...ux.ibm.com,
dan.j.williams@...el.com, jgg@...pe.ca, willy@...radead.org,
linux-kernel@...r.kernel.org, nvdimm@...ts.linux.dev,
linux-fsdevel@...r.kernel.org, linux-ext4@...r.kernel.org,
linux-xfs@...r.kernel.org, jhubbard@...dia.com, hch@....de,
zhang.lyra@...il.com, debug@...osinc.com, bjorn@...nel.org,
balbirs@...dia.com, lorenzo.stoakes@...cle.com,
linux-arm-kernel@...ts.infradead.org, loongarch@...ts.linux.dev,
linuxppc-dev@...ts.ozlabs.org, linux-riscv@...ts.infradead.org,
linux-cxl@...r.kernel.org, dri-devel@...ts.freedesktop.org, John@...ves.net,
m.szyprowski@...sung.com, Jason Gunthorpe <jgg@...dia.com>
Subject: Re: [PATCH v2 13/14] mm: Remove callers of pfn_t functionality
On 16.06.25 13:58, Alistair Popple wrote:
> All PFN_* pfn_t flags have been removed. Therefore there is no longer
> a need for the pfn_t type and all uses can be replaced with normal
> pfns.
>
> Signed-off-by: Alistair Popple <apopple@...dia.com>
> Reviewed-by: Christoph Hellwig <hch@....de>
> Reviewed-by: Jason Gunthorpe <jgg@...dia.com>
>
> ---
>
> Changes since v1:
>
> - Rebased on David's cleanup[1]
>
> [1] https://lore.kernel.org/linux-mm/20250611120654.545963-1-david@redhat.com/
> ---
> arch/x86/mm/pat/memtype.c | 1 +-
> drivers/dax/device.c | 23 +++----
> drivers/dax/hmem/hmem.c | 1 +-
> drivers/dax/kmem.c | 1 +-
> drivers/dax/pmem.c | 1 +-
> drivers/dax/super.c | 3 +-
> drivers/gpu/drm/exynos/exynos_drm_gem.c | 1 +-
> drivers/gpu/drm/gma500/fbdev.c | 3 +-
> drivers/gpu/drm/i915/gem/i915_gem_mman.c | 1 +-
> drivers/gpu/drm/msm/msm_gem.c | 1 +-
> drivers/gpu/drm/omapdrm/omap_gem.c | 6 +--
> drivers/gpu/drm/v3d/v3d_bo.c | 1 +-
> drivers/hwtracing/intel_th/msu.c | 3 +-
> drivers/md/dm-linear.c | 2 +-
> drivers/md/dm-log-writes.c | 2 +-
> drivers/md/dm-stripe.c | 2 +-
> drivers/md/dm-target.c | 2 +-
> drivers/md/dm-writecache.c | 11 +--
> drivers/md/dm.c | 2 +-
> drivers/nvdimm/pmem.c | 8 +--
> drivers/nvdimm/pmem.h | 4 +-
> drivers/s390/block/dcssblk.c | 9 +--
> drivers/vfio/pci/vfio_pci_core.c | 5 +-
> fs/cramfs/inode.c | 5 +-
> fs/dax.c | 50 +++++++--------
> fs/ext4/file.c | 2 +-
> fs/fuse/dax.c | 3 +-
> fs/fuse/virtio_fs.c | 5 +-
> fs/xfs/xfs_file.c | 2 +-
> include/linux/dax.h | 9 +--
> include/linux/device-mapper.h | 2 +-
> include/linux/huge_mm.h | 6 +-
> include/linux/mm.h | 4 +-
> include/linux/pfn.h | 9 +---
> include/linux/pfn_t.h | 85 +-------------------------
> mm/debug_vm_pgtable.c | 1 +-
> mm/huge_memory.c | 21 +++---
> mm/memory.c | 31 ++++-----
> mm/memremap.c | 1 +-
> mm/migrate.c | 1 +-
> tools/testing/nvdimm/pmem-dax.c | 6 +-
> tools/testing/nvdimm/test/iomap.c | 7 +--
> tools/testing/nvdimm/test/nfit_test.h | 1 +-
> 43 files changed, 109 insertions(+), 235 deletions(-)
> delete mode 100644 include/linux/pfn_t.h
>
Lovely
Acked-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists