Commit ac59507b authored by SeongJae Park's avatar SeongJae Park Committed by Todd Kjos
Browse files

UPSTREAM: mm/damon/core: split out scheme quota adjustment logic into a new function

DAMOS quota adjustment logic in 'kdamond_apply_schemes()', has some amount
of code, and the logic is not so straightforward.  Split it out to a new
function for better readability.

Link: https://lkml.kernel.org/r/20221026225943.100429-5-sj@kernel.org


Signed-off-by: default avatarSeongJae Park <sj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>

(cherry picked from commit 898810e5)

Bug: 300502883
Bug: 317310896
Change-Id: I2d13cf290774d36884b533fe703eb01dfc47094c
Signed-off-by: default avatarcui yangpei <cuiyangpei@xiaomi.com>
parent 24c56d35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment