All of lore.kernel.org
 help / color / mirror / Atom feed
* + mm-migrate-add-mr_damon-to-migrate_reason.patch added to mm-unstable branch
@ 2024-06-14 18:53 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-06-14 18:53 UTC (permalink / raw)
  To: mm-commits, sj, rostedt, rakie.kim, mhiramat, mathieu.desnoyers,
	hyeongtak.ji, gregory.price, 42.hyeyoo, honggyu.kim, akpm


The patch titled
     Subject: mm/migrate: add MR_DAMON to migrate_reason
has been added to the -mm mm-unstable branch.  Its filename is
     mm-migrate-add-mr_damon-to-migrate_reason.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-migrate-add-mr_damon-to-migrate_reason.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Honggyu Kim <honggyu.kim@sk.com>
Subject: mm/migrate: add MR_DAMON to migrate_reason
Date: Fri, 14 Jun 2024 12:00:06 +0900

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>
---

 include/linux/migrate_mode.h   |    1 +
 include/trace/events/migrate.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

--- a/include/linux/migrate_mode.h~mm-migrate-add-mr_damon-to-migrate_reason
+++ a/include/linux/migrate_mode.h
@@ -24,6 +24,7 @@ enum migrate_reason {
 	MR_CONTIG_RANGE,
 	MR_LONGTERM_PIN,
 	MR_DEMOTION,
+	MR_DAMON,
 	MR_TYPES
 };
 
--- a/include/trace/events/migrate.h~mm-migrate-add-mr_damon-to-migrate_reason
+++ a/include/trace/events/migrate.h
@@ -22,7 +22,8 @@
 	EM( MR_NUMA_MISPLACED,	"numa_misplaced")		\
 	EM( MR_CONTIG_RANGE,	"contig_range")			\
 	EM( MR_LONGTERM_PIN,	"longterm_pin")			\
-	EMe(MR_DEMOTION,	"demotion")
+	EM( MR_DEMOTION,	"demotion")			\
+	EMe(MR_DAMON,		"damon")
 
 /*
  * First define the enums in the above macros to be exported to userspace
_

Patches currently in -mm which might be from honggyu.kim@sk.com are

mm-make-alloc_demote_folio-externally-invokable-for-migration.patch
mm-rename-alloc_demote_folio-to-alloc_migrate_folio.patch
mm-migrate-add-mr_damon-to-migrate_reason.patch
mm-damon-paddr-introduce-damos_migrate_cold-action-for-demotion.patch
docs-damon-document-damos_migrate_hotcold.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-14 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 18:53 + mm-migrate-add-mr_damon-to-migrate_reason.patch added to mm-unstable branch Andrew Morton

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.