aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory.c
diff options
context:
space:
mode:
authorLance Yang <ioworker0@gmail.com>2024-04-18 21:44:33 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-05-05 17:53:42 -0700
commit89e86854fb0aa6e20c0f3d88285fa9cedef4f4e0 (patch)
tree6e881a37e074f07403a369c4518b8f637319a128 /mm/memory.c
parentmm/madvise: introduce clear_young_dirty_ptes() batch helper (diff)
downloadwireguard-linux-89e86854fb0aa6e20c0f3d88285fa9cedef4f4e0.tar.xz
wireguard-linux-89e86854fb0aa6e20c0f3d88285fa9cedef4f4e0.zip
mm/arm64: override clear_young_dirty_ptes() batch helper
The per-pte get_and_clear/modify/set approach would result in unfolding/refolding for contpte mappings on arm64. So we need to override clear_young_dirty_ptes() for arm64 to avoid it. Link: https://lkml.kernel.org/r/20240418134435.6092-3-ioworker0@gmail.com Signed-off-by: Lance Yang <ioworker0@gmail.com> Suggested-by: Barry Song <21cnbao@gmail.com> Suggested-by: Ryan Roberts <ryan.roberts@arm.com> Reviewed-by: Ryan Roberts <ryan.roberts@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: Jeff Xie <xiehuan09@gmail.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Muchun Song <songmuchun@bytedance.com> Cc: Peter Xu <peterx@redhat.com> Cc: Yang Shi <shy828301@gmail.com> Cc: Yin Fengwei <fengwei.yin@intel.com> Cc: Zach O'Keefe <zokeefe@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions