aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorRyan Roberts <ryan.roberts@arm.com>2023-06-02 10:29:48 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-06-09 16:25:55 -0700
commitfa8c919dac3f5f325b17f9fcf8ac7dd899992598 (patch)
treee3e7a03eaca6879763846b725aa1266e673664d0 /mm/page_alloc.c
parentmm/damon/ops-common: atomically test and clear young on ptes and pmds (diff)
downloadwireguard-linux-fa8c919dac3f5f325b17f9fcf8ac7dd899992598.tar.xz
wireguard-linux-fa8c919dac3f5f325b17f9fcf8ac7dd899992598.zip
mm/damon/ops-common: refactor to use {pte|pmd}p_clear_young_notify()
With the fix in place to atomically test and clear young on ptes and pmds, simplify the code to handle the clearing for both the primary mmu and the mmu notifier with a single API call. Link: https://lkml.kernel.org/r/20230602092949.545577-4-ryan.roberts@arm.com Signed-off-by: Ryan Roberts <ryan.roberts@arm.com> Acked-by: Yu Zhao <yuzhao@google.com> Reviewed-by: SeongJae Park <sj@kernel.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Lorenzo Stoakes <lstoakes@gmail.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Mike Rapoport (IBM) <rppt@kernel.org> Cc: Uladzislau Rezki (Sony) <urezki@gmail.com> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions