diff options
Diffstat (limited to 'mm/debug.c')
-rw-r--r-- | mm/debug.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mm/debug.c b/mm/debug.c index 231e1452a912..78dc54877075 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -10,9 +10,20 @@ #include <linux/trace_events.h> #include <linux/memcontrol.h> #include <trace/events/mmflags.h> +#include <linux/migrate.h> #include "internal.h" +char *migrate_reason_names[MR_TYPES] = { + "compaction", + "memory_failure", + "memory_hotplug", + "syscall_or_cpuset", + "mempolicy_mbind", + "numa_misplaced", + "cma", +}; + const struct trace_print_flags pageflag_names[] = { __def_pageflag_names, {0, NULL} |