Let's batch mm counter updating to accelerate filemap_map_pages(). Kefeng Wang (2): mm: move mm counter updating out of set_pte_range() mm: filemap: batch mm counter updating in filemap_map_pages() include/linux/mm.h | 18 ++++++++++++++++-- mm/filemap.c | 21 ++++++++++++++------- mm/memory.c | 30 +++++++++++------------------- 3 files changed, 41 insertions(+), 28 deletions(-) -- 2.41.0