Skip to content

RFC Improve the migration stats

Baolin Wang linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: migrate: Fix the return value of migrate_pages()mm/migrate.c+10 -84 replies
2/3mm: migrate: Correct the hugetlb migration statsmm/migrate.c+7 -61 reply
3/3mm: compaction: Fix the migration stats in trace_mm_compaction_migratepages()include/trace/events/compaction.h mm/compaction.c+8 -232 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSteven Rostedt (VMware)
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Improve the migration stats

Hi,

According to talk with Zi Yan [1], this patch set changes the return value of migrate_pages() to avoid returning a number which is larger than the number of pages the users tried to migrate by move_pages() syscall. Also fix the hugetlb migration stats and migration stats in trace_mm_compaction_migratepages(). Please help to review. Thanks.

[1] https://lore.kernel.org/linux-mm/[email protected]/

Baolin Wang (3):
mm: migrate: Fix the return value of migrate_pages()
mm: migrate: Correct the hugetlb migration stats
mm: compaction: Fix the migration stats in
trace_mm_compaction_migratepages()

 include/trace/events/compaction.h | 24 ++++--------------------
 mm/compaction.c                   |  7 ++++---
 mm/migrate.c                      | 25 ++++++++++++++-----------
 3 files changed, 22 insertions(+), 34 deletions(-)
Signature · 1 line
1.8.3.1