mm: convert do_set_pte() to set_pte_range()
authorYin Fengwei <fengwei.yin@intel.com>
Wed, 2 Aug 2023 15:14:04 +0000 (16:14 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:26 +0000 (16:20 -0700)
commit3bd786f76de2e01745f462844fd1a206052ee8b8
tree235d513d3ad2d939fd00280fed415ecbac2eec1b
parent86f35f69db8e7d169c36472a349507ab0a461f49
mm: convert do_set_pte() to set_pte_range()

set_pte_range() allows to setup page table entries for a specific
range.  It takes advantage of batched rmap update for large folio.
It now takes care of calling update_mmu_cache_range().

Link: https://lkml.kernel.org/r/20230802151406.3735276-37-willy@infradead.org
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/filesystems/locking.rst
include/linux/mm.h
mm/filemap.c
mm/memory.c