linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] mm: batch mm counter updating in filemap_map_pages()
@ 2024-04-12  6:47 Kefeng Wang
  2024-04-12  6:47 ` [PATCH v3 1/2] mm: move mm counter updating out of set_pte_range() Kefeng Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kefeng Wang @ 2024-04-12  6:47 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Matthew Wilcox (Oracle), linux-mm, linux-fsdevel, Kefeng Wang

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


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

end of thread, other threads:[~2024-04-15  5:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12  6:47 [PATCH v3 0/2] mm: batch mm counter updating in filemap_map_pages() Kefeng Wang
2024-04-12  6:47 ` [PATCH v3 1/2] mm: move mm counter updating out of set_pte_range() Kefeng Wang
2024-04-12  6:47 ` [PATCH v3 2/2] mm: filemap: batch mm counter updating in filemap_map_pages() Kefeng Wang
2024-04-12 23:12 ` [PATCH v3 0/2] mm: " Andrew Morton
2024-04-13  1:05   ` Matthew Wilcox
2024-04-15  5:41     ` Kefeng Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).