diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2024-04-12 09:47:50 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-06 03:53:36 +0300 |
commit | 1f2d8b4421bd0da2c97fb8bad5cc85fc929fef64 (patch) | |
tree | 0deecdcd97f749e1cb844fc2bcc5cccb29abeec9 /crypto/842.c | |
parent | a14421ae2a99378c4103bb03606465ab13e75509 (diff) | |
download | linux-1f2d8b4421bd0da2c97fb8bad5cc85fc929fef64.tar.xz |
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/20240412064751.119015-1-wangkefeng.wang@huawei.com
Link: https://lkml.kernel.org/r/20240412064751.119015-2-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions