Various memory tiering fixes
Status from this message: [merged mm-stable] memory-tiering-count-pgpromote_success-when-mem-tiering-is-enabled.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 4 repliesApplied 3/3
- v23 patches 10 repliesSuperseded
- v12 patches 4 repliesSuperseded
Changes in v3 from the cover letter
1. Renamed folio_has_cpupid() to folio_use_access_time() and reverse the code logic, since folio_has_cpupid() = !folio_use_access_time().
2. Wrapped folio_use_access_time() with CONFIG_NUMA_BALANCING to avoid the function redefinition compilation error.
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | memory tiering: read last_cpupid correctly in do_huge_pmd_numa_page()mm/ | +2 | 0 replies | Applied |
| 2/3 | memory tiering: introduce folio_use_access_time() checkinclude/ kernel/ mm/ +3 more | +30 | 2 replies | Applied |
| 3/3 | memory tiering: count PGPROMOTE_SUCCESS when mem tiering is enabled.mm/ | +3 | 2 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Huang, Ying | Baolin Wang | David Hildenbrand | Kefeng Wang |
|---|---|---|---|---|
| 1/3 | R-b | R-b | A-b | R-b |
| 2/3 | R-b | A-b | R-b | |
| 3/3 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 0/3] Various memory tiering fixes
Changelog
===
From v2:
1. Renamed folio_has_cpupid() to folio_use_access_time() and reverse the code logic, since folio_has_cpupid() = !folio_use_access_time().
2. Wrapped folio_use_access_time() with CONFIG_NUMA_BALANCING to avoid the function redefinition compilation error.
From v1:
1. Added a memory tiering runtime check in migrate_misplaced_folio() to correct PGPROMOTE_SUCCESS counting.
2. Moved folio_has_cpupid() from memory-tiers.h to mm.h.
From RFC:
1. Added Reported-by and Closes flags to first patch
Zi Yan (3):
memory tiering: read last_cpupid correctly in do_huge_pmd_numa_page() memory tiering: introduce folio_use_access_time() check memory tiering: count PGPROMOTE_SUCCESS when mem tiering is enabled.
include/linux/mm.h | 6 ++++++ kernel/sched/fair.c | 3 +-- mm/huge_memory.c | 5 ++--- mm/memory-tiers.c | 19 +++++++++++++++++++ mm/memory.c | 3 +-- mm/migrate.c | 4 +++- mm/mprotect.c | 3 +-- 7 files changed, 33 insertions(+), 10 deletions(-)
Signature · 1 line
2.43.0