linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] Simplify the page flags a little
@ 2024-08-21 19:34 Matthew Wilcox (Oracle)
  2024-08-21 19:34 ` [PATCH 01/10] mm: Remove PageActive Matthew Wilcox (Oracle)
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Matthew Wilcox (Oracle) @ 2024-08-21 19:34 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Matthew Wilcox (Oracle), linux-mm, linux-fsdevel, x86

In the course of our folio conversions, we have made many page flags
only used on folios, so we can now remove the page-based accessors.
This should cut down compile time a little, and prevent new users from
cropping up.

There is more that could be done in this area, but it would produce
merge conflicts, so I'll sit on those patches until next merge window.
We now have line of sight to removing PG_private_2 and PG_private.

Matthew Wilcox (Oracle) (10):
  mm: Remove PageActive
  mm: Remove PageSwapBacked
  mm: Remove PageReadahead
  mm: Remove PageSwapCache
  mm: Remove PageUnevictable
  mm: Remove PageMlocked
  mm: Remove PageOwnerPriv1
  mm: Remove page_has_private()
  mm: Rename PG_mappedtodisk to PG_owner_2
  x86: Remove PG_uncached

 .../features/vm/PG_uncached/arch-support.txt  | 30 ------
 Documentation/mm/unevictable-lru.rst          |  4 +-
 arch/arm64/Kconfig                            |  3 +-
 arch/x86/Kconfig                              |  5 +-
 arch/x86/mm/pat/memtype.c                     |  8 +-
 fs/proc/page.c                                | 10 +-
 include/linux/kernel-page-flags.h             |  3 +-
 include/linux/mm_types.h                      |  2 +-
 include/linux/page-flags.h                    | 99 +++++++++----------
 include/trace/events/mmflags.h                | 25 +++--
 mm/Kconfig                                    |  9 +-
 mm/huge_memory.c                              | 20 ++--
 mm/ksm.c                                      | 19 ++--
 mm/migrate.c                                  |  3 +-
 mm/shmem.c                                    | 11 ++-
 tools/mm/page-types.c                         | 13 ++-
 16 files changed, 111 insertions(+), 153 deletions(-)
 delete mode 100644 Documentation/features/vm/PG_uncached/arch-support.txt

-- 
2.43.0


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

end of thread, other threads:[~2024-08-22 18:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 19:34 [PATCH 00/10] Simplify the page flags a little Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 01/10] mm: Remove PageActive Matthew Wilcox (Oracle)
2024-08-22 13:22   ` kernel test robot
2024-08-22 18:24     ` Andrew Morton
2024-08-22 18:34       ` Matthew Wilcox
2024-08-22 15:47   ` kernel test robot
2024-08-21 19:34 ` [PATCH 02/10] mm: Remove PageSwapBacked Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 03/10] mm: Remove PageReadahead Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 04/10] mm: Remove PageSwapCache Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 05/10] mm: Remove PageUnevictable Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 06/10] mm: Remove PageMlocked Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 07/10] mm: Remove PageOwnerPriv1 Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 08/10] mm: Remove page_has_private() Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 09/10] mm: Rename PG_mappedtodisk to PG_owner_2 Matthew Wilcox (Oracle)
2024-08-21 19:34 ` [PATCH 10/10] x86: Remove PG_uncached Matthew Wilcox (Oracle)

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).