summaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2024-04-12 09:47:50 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-05-06 03:53:36 +0300
commit1f2d8b4421bd0da2c97fb8bad5cc85fc929fef64 (patch)
tree0deecdcd97f749e1cb844fc2bcc5cccb29abeec9 /lib/vsprintf.c
parenta14421ae2a99378c4103bb03606465ab13e75509 (diff)
downloadlinux-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 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions