android_kernel_xiaomi_sm8450/mm/damon
Hailong Tu 0453acd7fb FROMLIST: mm/damon/reclaim: Fix the timer always stays active
The timer stays active even if the reclaim mechanism is never enabled.
It is unnecessary overhead can be completely avoided by using module_param_cb() for enabled flag.

Signed-off-by: Hailong Tu <tuhailong@gmail.com>

Link: https://lore.kernel.org/all/20220421125910.1052459-1-tuhailong@gmail.com/

Bug: 228223814
Signed-off-by: Hailong Tu <tuhailong@oppo.com>
Change-Id: I77591e41ce424ce16a4a5c70e7a86cdae996a354
2022-04-28 23:09:18 +08:00
..
core-test.h UPSTREAM: mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()' 2022-04-28 23:09:15 +08:00
core.c UPSTREAM: mm/damon: hide kernel pointer from tracepoint event 2022-04-28 23:09:18 +08:00
dbgfs-test.h UPSTREAM: mm/damon: fix a few spelling mistakes in comments and a pr_debug message 2022-04-28 23:09:16 +08:00
dbgfs.c UPSTREAM: mm/damon/dbgfs: remove an unnecessary variable 2022-04-28 23:09:18 +08:00
Kconfig UPSTREAM: mm/damon: introduce DAMON-based Reclamation (DAMON_RECLAIM) 2022-04-28 23:09:16 +08:00
Makefile UPSTREAM: mm/damon: introduce DAMON-based Reclamation (DAMON_RECLAIM) 2022-04-28 23:09:16 +08:00
paddr.c UPSTREAM: mm/damon/schemes: account scheme actions that successfully applied 2022-04-28 23:09:18 +08:00
prmtv-common.c UPSTREAM: mm/damon/vaddr,paddr: support pageout prioritization 2022-04-28 23:09:16 +08:00
prmtv-common.h UPSTREAM: mm/damon: move damon_rand() definition into damon.h 2022-04-28 23:09:18 +08:00
reclaim.c FROMLIST: mm/damon/reclaim: Fix the timer always stays active 2022-04-28 23:09:18 +08:00
vaddr-test.h UPSTREAM: mm/damon/vaddr-test: remove unnecessary variables 2022-04-28 23:09:17 +08:00
vaddr.c BACKPORT: treewide: Add missing includes masked by cgroup -> bpf dependency 2022-04-28 23:09:18 +08:00