summaryrefslogtreecommitdiff
path: root/mm/damon?id=06ba5b309ed870cf1a0fedc611d0e7fbb6425a2d
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2024-02-19 11:44:22 -0800
committerAndrew Morton <akpm@linux-foundation.org>2024-02-23 17:48:28 -0800
commit06ba5b309ed870cf1a0fedc611d0e7fbb6425a2d (patch)
treeb02ec64e89428787cf49dc99b81e12c10c5e5ef6 /mm/damon?id=06ba5b309ed870cf1a0fedc611d0e7fbb6425a2d
parent89d347a545a704e0bd4fc61f9aea956d71bc72d2 (diff)
mm/damon/core: let goal specified with only target and current values
DAMOS quota auto-tuning feature let users to set the goal by providing a function for getting the current score of the tuned quota. It allows flexible goal setup, but only simple user-set quota is currently being used. As a result, the only user of the DAMOS quota auto-tuning is using a silly void pointer casting based score value passing function. Simplify the interface and the user code by letting user directly set the target and the current value. Link: https://lkml.kernel.org/r/20240219194431.159606-12-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon?id=06ba5b309ed870cf1a0fedc611d0e7fbb6425a2d')
0 files changed, 0 insertions, 0 deletions