diff options
| author | SeongJae Park <[email protected]> | 2024-06-18 11:18:08 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-03 19:30:14 -0700 |
| commit | a3096943642828b16e58e02b435710c565061d53 (patch) | |
| tree | 76bfdc93e69c0abd8ab0f79dab7b49f6f8a6cd77 /tools/perf/scripts/python | |
| parent | b94322b10bd42ce18d492952dea7b8899d5c17e3 (diff) | |
mm/damon/lru_sort: use damon_commit_ctx()
DAMON_LRU_SORT manually manipulates the DAMON context struct for online
parameters update. Since the struct contains not only input parameters
but also internal status and operation results, it is not that simple.
Indeed, we found and fixed a few bugs in the code. Now DAMON core layer
provides a function for the usage, namely damon_commit_ctx(). 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/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions