linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* remove follow_pfn
@ 2024-03-24 23:45 Christoph Hellwig
  2024-03-24 23:45 ` [PATCH 1/3] virt: acrn: stop using follow_pfn Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Christoph Hellwig @ 2024-03-24 23:45 UTC (permalink / raw)
  To: Andrew Morton, Dave Hansen, Andy Lutomirski, Peter Zijlstra,
	Fei Li
  Cc: x86, linux-mm

Hi all,

this series open codes follow_pfn in the only remaining caller, although
the code there remains questionable.  It then also moves follow_phys into
the only user and simplifies it a bit.

Diffstat:
 arch/x86/mm/pat/memtype.c |   22 ++++++++++++++-
 drivers/virt/acrn/mm.c    |   10 +++++--
 include/linux/mm.h        |    4 --
 mm/memory.c               |   64 +---------------------------------------------
 mm/nommu.c                |   21 ---------------
 5 files changed, 30 insertions(+), 91 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread
* remove follow_pfn v2
@ 2024-03-28  8:46 Christoph Hellwig
  2024-03-28  8:46 ` [PATCH 3/3] mm: move follow_phys to arch/x86/mm/pat/memtype.c Christoph Hellwig
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Hellwig @ 2024-03-28  8:46 UTC (permalink / raw)
  To: Andrew Morton, Dave Hansen, Andy Lutomirski, Peter Zijlstra,
	Fei Li
  Cc: x86, linux-mm

Hi all,

this series open codes follow_pfn in the only remaining caller, although
the code there remains questionable.  It then also moves follow_phys into
the only user and simplifies it a bit.

Changes since v1:
 - spelling fixes
 - keep an empty line

Diffstat:
 arch/x86/mm/pat/memtype.c |   23 +++++++++++++++-
 drivers/virt/acrn/mm.c    |   10 +++++--
 include/linux/mm.h        |    4 --
 mm/memory.c               |   64 +---------------------------------------------
 mm/nommu.c                |   21 ---------------
 5 files changed, 31 insertions(+), 91 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-03-28 15:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-24 23:45 remove follow_pfn Christoph Hellwig
2024-03-24 23:45 ` [PATCH 1/3] virt: acrn: stop using follow_pfn Christoph Hellwig
2024-03-25 10:33   ` David Hildenbrand
2024-03-26  6:04     ` Christoph Hellwig
2024-03-26 17:06       ` David Hildenbrand
2024-03-24 23:45 ` [PATCH 2/3] mm: remove follow_pfn Christoph Hellwig
2024-03-25 10:33   ` David Hildenbrand
2024-03-24 23:45 ` [PATCH 3/3] mm: move follow_phys to arch/x86/mm/pat/memtype.c Christoph Hellwig
2024-03-25 10:28   ` Ingo Molnar
2024-03-25 10:36   ` David Hildenbrand
  -- strict thread matches above, loose matches on Subject: below --
2024-03-28  8:46 remove follow_pfn v2 Christoph Hellwig
2024-03-28  8:46 ` [PATCH 3/3] mm: move follow_phys to arch/x86/mm/pat/memtype.c Christoph Hellwig
2024-03-28  9:34   ` David Hildenbrand
2024-03-28 15:25   ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).