summaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2023-08-21 23:26:20 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 23:26:20 +0200
commit5994eabf3bbbea550166ae90de0c854fc984c95d (patch)
tree6b242a70d3254c408c68157a5f5b2fa7eb9f6a4b /mm/mprotect.c
parentpagemap: remove wait_on_page_locked_killable() (diff)
parentmm: multi-gen LRU: don't spin during memcg release (diff)
downloadlinux-5994eabf3bbbea550166ae90de0c854fc984c95d.tar.xz
linux-5994eabf3bbbea550166ae90de0c854fc984c95d.zip
merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes
Diffstat (limited to 'mm/mprotect.c')
-rw-r--r--mm/mprotect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/mprotect.c b/mm/mprotect.c
index 7cd7f644da80..130db91d3a8c 100644
--- a/mm/mprotect.c
+++ b/mm/mprotect.c
@@ -568,6 +568,7 @@ static const struct mm_walk_ops prot_none_walk_ops = {
.pte_entry = prot_none_pte_entry,
.hugetlb_entry = prot_none_hugetlb_entry,
.test_walk = prot_none_test,
+ .walk_lock = PGWALK_WRLOCK,
};
int