On Mon Jun 29, 2026 at 9:53 PM EDT, Ye Liu wrote: > The last_migrate_reason field uses -1 as a sentinel value to mean "no > migration has happened". Replace the four bare -1 occurrences by > adding a proper MR_NEVER member to enum migrate_reason, defining a > corresponding "never_migrated" string in the MIGRATE_REASON trace > macro, and removing the local MIGRATE_REASON_NONE define. > > No functional change. > > Signed-off-by: Ye Liu <[email protected]> > --- > include/linux/migrate_mode.h | 1 + > include/trace/events/migrate.h | 3 ++- > mm/page_owner.c | 8 ++++---- > 3 files changed, 7 insertions(+), 5 deletions(-) >
LGTM. Thanks. Reviewed-by: Zi Yan <[email protected]> -- Best Regards, Yan, Zi
