[PATCH v3 0/2] mm: batch mm counter updating in filemap_map_pages()

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

 



Let's batch mm counter updating to accelerate filemap_map_pages(). 

v2:
- estimate folio type from caller and no need to return from
  set_pte_range()
- use unsigned long for rss

v3: 
- make is_cow to bool in patch1 and fix null folio in patch2
- retest, improvement same with v1

Kefeng Wang (2):
  mm: move mm counter updating out of set_pte_range()
  mm: filemap: batch mm counter updating in filemap_map_pages()

 mm/filemap.c | 17 ++++++++++++-----
 mm/memory.c  |  8 +++++---
 2 files changed, 17 insertions(+), 8 deletions(-)

-- 
2.41.0





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux