Skip to content

mm: batch mm counter updating in filemap_map_pages()

Kefeng Wang linux-fsdevel linux-mm 3 versions – Applied

Status from this message: [merged mm-stable] mm-filemap-batch-mm-counter-updating-in-filemap_map_pages.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied 2/2
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm: move mm counter updating out of set_pte_range()mm/filemap.c mm/memory.c+9 -30 repliesApplied
2/2mm: filemap: batch mm counter updating in filemap_map_pages()mm/filemap.c+12 -90 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
2.41.0