[PATCH v2 0/4] mm: improve clear and copy user folio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The most are some folio conversions, another improvement is that move
address alignment into the caller as it is only needed if we don't know
which address will be accessed when clear/copy user folio.

v2:
- rename clear_large_folio to folio_zero_user and move alignment out,
  per Matthew, but still use addr_hint name since it is for cache hint,
  or maybe user_addr_hint ?
- improve copy_user_large_folio() and rename pages_per_huge_page
- add ACK

Kefeng Wang (4):
  mm: memory: convert clear_huge_page() to folio_zero_user()
  mm: memory: use folio in struct copy_subpage_arg
  mm: memory: improve copy_user_large_folio()
  mm: memory: rename pages_per_huge_page to nr_pages

 fs/hugetlbfs/inode.c |  2 +-
 include/linux/mm.h   |  4 +--
 mm/huge_memory.c     |  4 +--
 mm/hugetlb.c         | 21 +++++-------
 mm/memory.c          | 81 +++++++++++++++++++++-----------------------
 5 files changed, 51 insertions(+), 61 deletions(-)

-- 
2.27.0





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux