summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSJ Park <sj@kernel.org>2026-09-14 07:23:21 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-10-12 21:26:08 -0700
commit1bfb9384ae0ed52d61eb601b655014b7815ff849 (patch)
tree22a35a12eff637006b614cd39452add52d47312a /tools/perf/scripts/python/stackcollapse.py
parent6f276422aded370174edea69549ebe6b1683ffcc (diff)
mm/damon/core: disallow max < min damos filter range arguments commit
damos_commit_filter_arg() receives range arguments for a few types of DAMOS filters. It allows any range including max < min range. It is fine for the logic, but makes no sense to support it. Actually DAMON sysfs interface is doing the validation on its own. To avoid duplicated validations in multiple DAMON API callers, it would be better to do the validation in the core layer. Add a validation of the given range. Link: https://lore.kernel.org/20260914142327.92510-5-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: David Gow <davidgow@davidgow.net> Cc: Usama Arif <usamaarif642@gmail.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions