All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Make working with compound pages easier
@ 2019-07-21 10:46 Matthew Wilcox
  2019-07-21 10:46 ` [PATCH v2 1/3] mm: Introduce page_size() Matthew Wilcox
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Matthew Wilcox @ 2019-07-21 10:46 UTC (permalink / raw)
  To: Andrew Morton, linux-mm; +Cc: Matthew Wilcox (Oracle)

From: "Matthew Wilcox (Oracle)" <willy@infradead.org>

These three patches add three helpers and convert the appropriate
places to use them.

v2:
 - Add page_shift() and compound_nr()
 - Remove unsigned long cast from PAGE_SIZE as it is already unsigned long
 - Update to current Linus tree

Matthew Wilcox (Oracle) (3):
  mm: Introduce page_size()
  mm: Introduce page_shift()
  mm: Introduce compound_nr()

 arch/arm/include/asm/xen/page-coherent.h      |  3 +--
 arch/arm/mm/flush.c                           |  7 +++----
 arch/arm64/include/asm/xen/page-coherent.h    |  3 +--
 arch/arm64/mm/flush.c                         |  3 +--
 arch/ia64/mm/init.c                           |  2 +-
 arch/powerpc/mm/book3s64/iommu_api.c          |  7 ++-----
 arch/powerpc/mm/hugetlbpage.c                 |  2 +-
 drivers/crypto/chelsio/chtls/chtls_io.c       |  5 ++---
 drivers/staging/android/ion/ion_system_heap.c |  4 ++--
 drivers/target/tcm_fc/tfc_io.c                |  3 +--
 drivers/vfio/vfio_iommu_spapr_tce.c           |  2 +-
 fs/io_uring.c                                 |  2 +-
 fs/proc/task_mmu.c                            |  2 +-
 include/linux/hugetlb.h                       |  2 +-
 include/linux/mm.h                            | 18 ++++++++++++++++++
 lib/iov_iter.c                                |  2 +-
 mm/compaction.c                               |  2 +-
 mm/filemap.c                                  |  2 +-
 mm/gup.c                                      |  2 +-
 mm/hugetlb_cgroup.c                           |  2 +-
 mm/kasan/common.c                             | 10 ++++------
 mm/memcontrol.c                               |  4 ++--
 mm/memory_hotplug.c                           |  4 ++--
 mm/migrate.c                                  |  2 +-
 mm/nommu.c                                    |  2 +-
 mm/page_alloc.c                               |  2 +-
 mm/page_vma_mapped.c                          |  3 +--
 mm/rmap.c                                     |  9 +++------
 mm/shmem.c                                    |  8 ++++----
 mm/slob.c                                     |  2 +-
 mm/slub.c                                     | 18 +++++++++---------
 mm/swap_state.c                               |  2 +-
 mm/util.c                                     |  2 +-
 mm/vmscan.c                                   |  4 ++--
 net/xdp/xsk.c                                 |  2 +-
 35 files changed, 76 insertions(+), 73 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2019-09-23 20:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-21 10:46 [PATCH v2 0/3] Make working with compound pages easier Matthew Wilcox
2019-07-21 10:46 ` [PATCH v2 1/3] mm: Introduce page_size() Matthew Wilcox
2019-07-23  0:43   ` Ira Weiny
2019-07-23 16:02     ` Matthew Wilcox
2019-07-23 17:58       ` Ira Weiny
2019-07-23 18:14         ` Matthew Wilcox
2019-07-23 20:44           ` Ira Weiny
2019-07-23 21:03             ` Matthew Wilcox
2019-09-20 23:28       ` Andrew Morton
2019-09-21  1:09         ` Matthew Wilcox
2019-09-22  2:13           ` Weiny, Ira
2019-07-21 10:46 ` [PATCH v2 2/3] mm: Introduce page_shift() Matthew Wilcox
2019-07-23  0:44   ` Ira Weiny
2019-07-24 10:40   ` kbuild test robot
2019-07-25  0:30     ` Andrew Morton
2019-07-25 20:30       ` Ira Weiny
2019-09-23 20:30         ` Matthew Wilcox
2019-07-21 10:46 ` [PATCH v2 3/3] mm: Introduce compound_nr() Matthew Wilcox
2019-07-23  0:46   ` Ira Weiny
2019-07-23 12:55 ` [PATCH v2 0/3] Make working with compound pages easier Kirill A. Shutemov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.