summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorKarl Mehltretter <kmehltretter@gmail.com>2026-09-28 01:58:34 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-10-24 01:55:56 -0700
commitf262c5b460de447511a4725e1ee433a74f772730 (patch)
tree202bd4f302347a5a399d4a33baf5cc0939d8a0d7 /tools/perf/scripts/python/parallel-perf.py
parentf73ecbc0589c8df8f18e444f5f633de01ebb0d98 (diff)
mm/damon/tests/core-kunit: test preservation of quota state
Check that damon_new_scheme() initializes the new scheme's quota without changing the quota passed as a parameter. Cover all eight fields initialized by damos_quota_init(). Also check that damon_commit_ctx() preserves those fields in the destination scheme for both accepted and rejected parameter updates. Use an invalid min_region_sz for the rejected update and confirm that returning -EINVAL leaves the running quota state unchanged. Without the preceding fix, all eight fields are cleared in the constructor test and in both context update cases. Link: https://lore.kernel.org/20260928085835.7675-3-sj@kernel.org Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com> Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: SJ Park <sj@kernel.org> Assisted-by: LLM Cc: Bijan Tabatabai <bijan311@gmail.com> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: David Gow <davidgow@davidgow.net>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions