diff options
author | SeongJae Park <sj@kernel.org> | 2024-06-18 11:18:01 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:30:13 -0700 |
commit | 77ed1eb64256cd8c42e42eba5161104e9cd7fa78 (patch) | |
tree | 4e9387e38d7a2bff233eb6c66c4db7aa84d8af95 /mm/io-mapping.c | |
parent | 83dc7bbaecae6e69e338355e9a137f0e7a0ecc40 (diff) | |
download | lwn-77ed1eb64256cd8c42e42eba5161104e9cd7fa78.tar.gz lwn-77ed1eb64256cd8c42e42eba5161104e9cd7fa78.zip |
mm/damon/sysfs-schemes: use damos_commit_quota_goals()
DAMON_SYSFS manually manipulates the DAMOS quota structs for online quotal
goals parameter update. Since the struct contains not only input
parameters but also internal status and operation results, it is not that
simple. Now DAMON core layer provides a function for the usage, namely
damon_commit_quota_goals(). Replace the manual manipulation logic with
the function. The core layer function could have its own bugs, but this
change removes a source of bugs.
Link: https://lkml.kernel.org/r/20240618181809.82078-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/io-mapping.c')
0 files changed, 0 insertions, 0 deletions