linux-yocto/mm/damon
Joshua Hahn f57f63b0f0 mm/damon/paddr: improve readability of damon_pa_stat
damon_pa_stat contains an unnecessary goto statement, and the if/else can
be re-written to be more readable.

This patch is written on top of SJ's patch series [1], which in turn is
written on top of another one of his series [2].

[1] https://lore.kernel.org/all/20241219040327.61902-1-sj@kernel.org/
[2] https://lore.kernel.org/all/20241213215306.54778-1-sj@kernel.org/

Link: https://lkml.kernel.org/r/20250113210201.446051-1-joshua.hahnjy@gmail.com
Signed-off-by: Joshua Hahn <joshua.hahnjy@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-25 20:22:41 -08:00
..
tests mm/damon: add 'allow' argument to damos_new_filter() 2025-01-25 20:22:32 -08:00
core.c mm/damon: add 'allow' argument to damos_new_filter() 2025-01-25 20:22:32 -08:00
Kconfig mm/damon: remove DAMON debugfs interface 2025-01-25 20:22:29 -08:00
lru_sort.c Revert "mm/damon/lru_sort: adjust local variable to dynamic allocation" 2024-09-09 16:39:00 -07:00
Makefile mm/damon: remove DAMON debugfs interface 2025-01-25 20:22:29 -08:00
modules-common.c mm/damon: update email of SeongJae 2023-12-20 14:48:13 -08:00
modules-common.h
ops-common.c mm/damon/ops-common: avoid divide-by-zero during region hotness calculation 2023-10-25 16:47:15 -07:00
ops-common.h mm/damon/ops-common: atomically test and clear young on ptes and pmds 2023-06-09 16:25:55 -07:00
paddr.c mm/damon/paddr: improve readability of damon_pa_stat 2025-01-25 20:22:41 -08:00
reclaim.c mm/damon: add 'allow' argument to damos_new_filter() 2025-01-25 20:22:32 -08:00
sysfs-common.c mm/damon/sysfs: make kobj_type structures constant 2023-02-09 16:51:45 -08:00
sysfs-common.h mm/damon/sysfs-schemes: expose per-region filter-passed bytes 2025-01-25 20:22:28 -08:00
sysfs-schemes.c mm/damon/sysfs-schemes: add a file for setting damos_filter->allow 2025-01-25 20:22:32 -08:00
sysfs.c mm/damon/sysfs-schemes: expose per-region filter-passed bytes 2025-01-25 20:22:28 -08:00
vaddr.c mm/damon: ask apply_scheme() to report filter-passed region-internal bytes 2025-01-25 20:22:26 -08:00