summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHonggyu Kim <honggyu.kim@sk.com>2025-01-14 09:40:34 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-01-14 09:40:34 +0300
commit66539952627c891d8d73cdd619d1937b6b3f66c7 (patch)
tree03c08046f9e48432421c47f433b7dc49c4dd278f /tools/perf/scripts/python/bin/stackcollapse-report
parent9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7 (diff)
downloadlinux-66539952627c891d8d73cdd619d1937b6b3f66c7.tar.xz
mm/damon/core: remove duplicate list_empty quota->goals check
damos_set_effective_quota() checks quota contidions but there are some duplicate checks for quota->goals inside. This patch reduces one of if statement to simplify the esz calculation logic by setting esz as ULONG_MAX by default. Link: https://lkml.kernel.org/r/20241125184307.41746-1-sj@kernel.org Signed-off-by: Honggyu Kim <honggyu.kim@sk.com> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions