mm/damon/vaddr: add a comment for 'default' case in damon_va_apply_scheme()
authorKaixu Xia <kaixuxia@tencent.com>
Thu, 8 Sep 2022 03:13:17 +0000 (11:13 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:05 +0000 (14:03 -0700)
commit5934ec1362b235c4341807c28f79b6a596ce1b40
tree1768e6ac559de400d0e2a2ee7cb906ab787abd2b
parentf5a79d7c0c87c8d88bb5e3f3c898258fdf1b3b05
mm/damon/vaddr: add a comment for 'default' case in damon_va_apply_scheme()

The switch case 'DAMOS_STAT' and switch case 'default' have same return
value in damon_va_apply_scheme(), and the 'default' case is for DAMOS
actions that not supported by 'vaddr'.  It might make sense to add a
comment here.

[akpm@linux-foundation.org: fx comment grammar]
Link: https://lkml.kernel.org/r/1662606797-23534-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/vaddr.c