aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/migrate_mode.h
diff options
context:
space:
mode:
authorHonggyu Kim <honggyu.kim@sk.com>2024-06-14 12:00:06 +0900
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:30:12 -0700
commitced816a76b8fd1288d48523cc48ed308964d12ed (patch)
tree2845a7cf68535d9dbab6d4ccb082ad3dc5becd09 /include/linux/migrate_mode.h
parentmm/damon/sysfs-schemes: add target_nid on sysfs-schemes (diff)
downloadwireguard-linux-ced816a76b8fd1288d48523cc48ed308964d12ed.tar.xz
wireguard-linux-ced816a76b8fd1288d48523cc48ed308964d12ed.zip
mm/migrate: add MR_DAMON to migrate_reason
The current patch series introduces DAMON based migration across NUMA nodes so it'd be better to have a new migrate_reason in trace events. Link: https://lkml.kernel.org/r/20240614030010.751-5-honggyu.kim@sk.com Signed-off-by: Honggyu Kim <honggyu.kim@sk.com> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Gregory Price <gregory.price@memverge.com> Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: Hyeongtak Ji <hyeongtak.ji@sk.com> Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Rakie Kim <rakie.kim@sk.com> Cc: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/migrate_mode.h')
-rw-r--r--include/linux/migrate_mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/migrate_mode.h b/include/linux/migrate_mode.h
index 9fb482bb7323..265c4328b36a 100644
--- a/include/linux/migrate_mode.h
+++ b/include/linux/migrate_mode.h
@@ -24,6 +24,7 @@ enum migrate_reason {
MR_CONTIG_RANGE,
MR_LONGTERM_PIN,
MR_DEMOTION,
+ MR_DAMON,
MR_TYPES
};