android_kernel_samsung_sm8650/mm/damon
Ryan Roberts a548d90994 UPSTREAM: 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>

(cherry picked from commit fa8c919dac3f5f325b17f9fcf8ac7dd899992598)

Bug: 300502883
Change-Id: I4414604788996e338ac638c3eb3ec1ef7959223e
Signed-off-by: cui yangpei <cuiyangpei@xiaomi.com>
2023-12-16 01:38:42 +00:00
..
core-test.h mm/damon/core-test: test damon_set_regions 2022-10-03 14:03:06 -07:00
core.c UPSTREAM: mm/damon/core: skip apply schemes if empty 2023-12-16 01:38:42 +00:00
dbgfs-test.h mm/damon/dbgfs-test: fix is_target_id() change 2022-03-22 15:57:12 -07:00
dbgfs.c mm/damon/dbgfs: check if rm_contexts input is for a real context 2022-11-08 15:57:25 -08:00
Kconfig mm/damon/Kconfig: notify debugfs deprecation plan 2022-10-03 14:03:06 -07:00
lru_sort.c UPSTREAM: mm/damon: use kstrtobool() instead of strtobool() 2023-12-16 01:38:42 +00:00
Makefile UPSTREAM: mm/damon/modules: deduplicate init steps for DAMON context setup 2023-12-16 01:38:42 +00:00
modules-common.c UPSTREAM: mm/damon/modules: deduplicate init steps for DAMON context setup 2023-12-16 01:38:42 +00:00
modules-common.h UPSTREAM: mm/damon/modules: deduplicate init steps for DAMON context setup 2023-12-16 01:38:42 +00:00
ops-common.c UPSTREAM: mm/damon/ops-common: refactor to use {pte|pmd}p_clear_young_notify() 2023-12-16 01:38:42 +00:00
ops-common.h mm/damon/ops-common: atomically test and clear young on ptes and pmds 2023-07-19 16:22:11 +02:00
paddr.c mm/damon/ops-common: atomically test and clear young on ptes and pmds 2023-07-19 16:22:11 +02:00
reclaim.c UPSTREAM: mm/damon: use kstrtobool() instead of strtobool() 2023-12-16 01:38:42 +00:00
sysfs-common.c UPSTREAM: mm/damon/sysfs: move unsigned long range directory to common module 2023-12-16 01:38:42 +00:00
sysfs-common.h UPSTREAM: mm/damon/sysfs-schemes: implement DAMOS-tried regions clear command 2023-12-16 01:38:42 +00:00
sysfs-schemes.c UPSTREAM: mm/damon/sysfs-schemes: implement DAMOS-tried regions clear command 2023-12-16 01:38:42 +00:00
sysfs.c UPSTREAM: mm/damon/sysfs-schemes: implement DAMOS-tried regions clear command 2023-12-16 01:38:42 +00:00
vaddr-test.h mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions() 2023-10-06 14:57:03 +02:00
vaddr.c This is the 6.1.39 stable release 2023-09-02 19:41:42 +00:00