diff options
| author | SJ Park <sj@kernel.org> | 2026-07-05 08:55:53 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-07-30 19:40:46 -0700 |
| commit | b1471afe4d10eeea7c8f5935b52a3b2cac8ad779 (patch) | |
| tree | b4d25d14899a9620d744db6942677a02afcf3136 /tools/lib/python/kdoc | |
| parent | b90408ef116305770142b6d0d3cb077f28d8d41b (diff) | |
mm/damon/core: do parameter testing commit on damon_start()
damon_start() and damon_commit_ctx() are two main DAMON core API functions
for setting whole DAMON parameters. While damon_commit_ctx() does
holistic parameters testing, damon_start() just believes the caller
validated the whole thing. Embed the holistic parameter check that is
already in damon_commit_ctx() into damon_start(). After this change, the
callers can safely call damon_start() without validating the parameters.
Link: https://lore.kernel.org/20260705155600.96555-3-sj@kernel.org
Signed-off-by: SJ 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
