diff options
| author | Kefeng Wang <[email protected]> | 2024-04-12 14:47:50 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-05 17:53:36 -0700 |
| commit | 1f2d8b4421bd0da2c97fb8bad5cc85fc929fef64 (patch) | |
| tree | 0deecdcd97f749e1cb844fc2bcc5cccb29abeec9 /tools/perf/scripts/python | |
| parent | a14421ae2a99378c4103bb03606465ab13e75509 (diff) | |
mm: move mm counter updating out of set_pte_range()
Patch series "mm: batch mm counter updating in filemap_map_pages()", v3.
Let's batch mm counter updating to accelerate filemap_map_pages().
This patch (of 2):
In order to support batch mm counter updating in filemap_map_pages(), move
mm counter updating out of set_pte_range(), the folios are file from
filemap, and distinguish folios by vmf->flags and vma->vm_flags from
another caller finish_fault().
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions