Improve the migration stats
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 10 repliesIn review 2 of 3 applied
Changes from RFC from the cover letter
- Increase nr_thp_failed when THP is split, no matter how many subpages are migrated successfully.
- Add reviewed-by tags.
Patches in v1 2 of 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm: migrate: Fix the return value of migrate_pages()mm/ | +47 | 4 replies | Applied |
| 2/3 | mm: migrate: Correct the hugetlb migration statsmm/ | +8 | 6 replies | |
| 3/3 | mm: compaction: Fix the migration stats in trace_mm_compaction_migratepages()include/ mm/ | +8 | 0 replies | Applied |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Steven Rostedt (VMware) | Zi Yan |
|---|---|---|
| 1/3 | ||
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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]/
Changes from RFC:
- Increase nr_thp_failed when THP is split, no matter how many subpages are migrated successfully.
- Add reviewed-by tags.
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 | 68 ++++++++++++++++++++++++++++----------- 3 files changed, 57 insertions(+), 42 deletions(-)
Signature · 1 line
1.8.3.1