summaryrefslogtreecommitdiff
path: root/mm/mmap_lock.c
diff options
context:
space:
mode:
authorHonggyu Kim <honggyu.kim@sk.com>2025-01-13 22:40:34 -0800
committerAndrew Morton <akpm@linux-foundation.org>2025-01-13 22:40:34 -0800
commit66539952627c891d8d73cdd619d1937b6b3f66c7 (patch)
tree03c08046f9e48432421c47f433b7dc49c4dd278f /mm/mmap_lock.c
parent9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7 (diff)
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 'mm/mmap_lock.c')
0 files changed, 0 insertions, 0 deletions