]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/damon/core: split damos application logic into a new function
authorSeongJae Park <sj@kernel.org>
Wed, 26 Oct 2022 22:59:33 +0000 (22:59 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:01:24 +0000 (15:01 -0800)
commite63a30c51f8400915db401c05d3c4db6743857e8
tree5c913b767ffa0fa2a426e8f740af18d0db131295
parent2ea3498980f5e6f3001f2984b0b92736bf1b78cb
mm/damon/core: split damos application logic into a new function

The DAMOS action applying function, 'damon_do_apply_schemes()', is still
long and not easy to read.  Split out the code for applying a single
action to a single region into a new function for better readability.

Link: https://lkml.kernel.org/r/20221026225943.100429-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/core.c