diff options
| author | SeongJae Park <sj@kernel.org> | 2022-09-13 17:44:35 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 14:03:11 -0700 |
| commit | 135e128f8e48f30ea65e0ffad34dca37d2c8d171 (patch) | |
| tree | 02ff1fdd425b6436c7064d33792b4efe74c3dd45 /tools/lib/python/kdoc | |
| parent | 8c341ae3341188a0bcef02f05aca7345501ce697 (diff) | |
mm/damon/lru_sort: use 'struct damon_attrs' for storing parameters for it
DAMON_LRU_SORT receives monitoring attributes by parameters one by one to
separate variables, and then combines those into 'struct damon_attrs'.
This commit makes the module directly stores the parameter values to a
static 'struct damon_attrs' variable and use it to simplify the code.
Link: https://lkml.kernel.org/r/20220913174449.50645-9-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
