All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm/debug: sync up latest migrate_reason to migrate_reason_names
@ 2021-09-17  6:14 Weizhao Ouyang
  2021-09-17  7:03   ` Huang, Ying
  2021-09-19 23:35 ` Andrew Morton
  0 siblings, 2 replies; 11+ messages in thread
From: Weizhao Ouyang @ 2021-09-17  6:14 UTC (permalink / raw)
  To: Andrew Morton, John Hubbard, Pavel Tatashin, Oscar Salvador,
	Huang, Ying, Yang Shi, Zi Yan, Dave Hansen
  Cc: linux-mm, linux-kernel, Weizhao Ouyang

After related migrate page updates, sync up latest migrate_reason to
migrate_reason_names, page_owner use it to parse the page migrate
reason.

Fixes: d1e153fea2a8 ("mm/gup: migrate pinned pages out of movable zone")
Fixes: 26aa2d199d6f ("mm/migrate: demote pages during reclaim")
Signed-off-by: Weizhao Ouyang <o451686892@gmail.com>
---
 mm/debug.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mm/debug.c b/mm/debug.c
index e73fe0a8ec3d..733770b0ed0c 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -25,6 +25,8 @@ const char *migrate_reason_names[MR_TYPES] = {
 	"mempolicy_mbind",
 	"numa_misplaced",
 	"cma",
+	"longterm_pin",
+	"demotion",
 };
 
 const struct trace_print_flags pageflag_names[] = {
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-09-20  9:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17  6:14 [PATCH] mm/debug: sync up latest migrate_reason to migrate_reason_names Weizhao Ouyang
2021-09-17  7:03 ` Huang, Ying
2021-09-17  7:03   ` Huang, Ying
2021-09-17  7:27   ` John Hubbard
2021-09-17  9:48   ` Weizhao Ouyang
2021-09-18  0:30     ` John Hubbard
2021-09-18  7:03       ` Weizhao Ouyang
2021-09-19  5:38         ` John Hubbard
2021-09-20  9:14           ` Weizhao Ouyang
2021-09-19 23:35 ` Andrew Morton
2021-09-20  9:16   ` Weizhao Ouyang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.