summaryrefslogtreecommitdiffstats
path: root/mm/damon/Makefile
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2022-03-22 22:49:24 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-22 23:57:13 +0100
commit5257f36ec289d544532f2889cbed11abbb06cf0c (patch)
tree75ed47a6b4ac762bbe57d360df08fb51ddefac3e /mm/damon/Makefile
parentmm/damon/core: allow non-exclusive DAMON start/stop (diff)
downloadlinux-5257f36ec289d544532f2889cbed11abbb06cf0c.tar.xz
linux-5257f36ec289d544532f2889cbed11abbb06cf0c.zip
mm/damon/core: add number of each enum type values
This commit declares the number of legal values for each DAMON enum types to make traversals of such DAMON enum types easy and safe. Link: https://lkml.kernel.org/r/20220228081314.5770-3-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <skhan@linuxfoundation.org> Cc: Xin Hao <xhao@linux.alibaba.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/damon/Makefile')
0 files changed, 0 insertions, 0 deletions