[PATCH v6 00/25] *** SUBJECT HERE ***

From: Matthew Wilcox (Oracle)
Date: Tue Mar 30 2021 - 10:47:46 EST


*** BLURB HERE ***

Matthew Wilcox (Oracle) (25):
mm: Introduce struct folio
mm: Add folio_pgdat and folio_zone
mm/vmstat: Add functions to account folio statistics
mm/debug: Add VM_BUG_ON_FOLIO and VM_WARN_ON_ONCE_FOLIO
mm: Add put_folio
mm: Add get_folio
mm: Create FolioFlags
mm: Handle per-folio private data
mm/filemap: Add folio_index, folio_file_page and folio_contains
mm/filemap: Add folio_next_index
mm/filemap: Add folio_offset and folio_file_offset
mm/util: Add folio_mapping and folio_file_mapping
mm/memcg: Add folio wrappers for various functions
mm/filemap: Add unlock_folio
mm/filemap: Add lock_folio
mm/filemap: Add lock_folio_killable
mm/filemap: Add __lock_folio_async
mm/filemap: Add __lock_folio_or_retry
mm/filemap: Add wait_on_folio_locked
mm/filemap: Add end_folio_writeback
mm/writeback: Add wait_on_folio_writeback
mm/writeback: Add wait_for_stable_folio
mm/filemap: Convert wait_on_page_bit to wait_on_folio_bit
mm/filemap: Convert wake_up_page_bit to wake_up_folio_bit
mm/filemap: Convert page wait queues to be folios

Documentation/core-api/mm-api.rst | 2 +
fs/afs/write.c | 7 +-
fs/cachefiles/rdwr.c | 16 +-
fs/io_uring.c | 2 +-
include/linux/memcontrol.h | 21 +++
include/linux/mm.h | 156 +++++++++++++----
include/linux/mm_types.h | 81 +++++++++
include/linux/mmdebug.h | 20 +++
include/linux/netfs.h | 2 +-
include/linux/page-flags.h | 120 ++++++++++---
include/linux/pagemap.h | 270 ++++++++++++++++++++++--------
include/linux/swap.h | 6 +
include/linux/vmstat.h | 107 ++++++++++++
mm/Makefile | 2 +-
mm/filemap.c | 242 +++++++++++++-------------
mm/folio-compat.c | 37 ++++
mm/memory.c | 8 +-
mm/page-writeback.c | 72 +++++---
mm/swapfile.c | 8 +-
mm/util.c | 49 ++++--
20 files changed, 926 insertions(+), 302 deletions(-)
create mode 100644 mm/folio-compat.c

--
2.30.2