NUMA balancing segmentation fault fixes and misc followups v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 28 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | mm: numa: Serialise parallel get_user_page against THP migrationarch/ mm/ mm/ | +60 | 1 reply | |
| 2/18 | mm: numa: Call MMU notifiers on THP migrationmm/ | +14 | 1 reply | |
| 3/18 | mm: Clear pmd_numa before invalidatingmm/ | +3 | 1 reply | |
| 4/18 | mm: numa: Do not clear PMD during PTE update scanmm/ | +1 | 1 reply | |
| 5/18 | mm: numa: Do not clear PTE for pte_numa updatemm/ | +6 | 1 reply | |
| 6/18 | mm: numa: Ensure anon_vma is locked to prevent parallel THP splitsmm/ | +7 | 1 reply | |
| 7/18 | mm: numa: Avoid unnecessary work on the failure pathmm/ | +3 | 1 reply | |
| 8/18 | sched: numa: Skip inaccessible VMAskernel/ | +7 | 1 reply | |
| 9/18 | mm: numa: Clear numa hinting information on mprotectmm/ mm/ | +4 | 1 reply | |
| 10/18 | mm: numa: Avoid unnecessary disruption of NUMA hinting during migrationinclude/ mm/ mm/ | +37 | 1 reply | |
| 11/18 | mm: fix TLB flush race between migration, and change_protection_rangearch/ arch/ include/ +5 more | +69 | 4 replies | |
| 12/18 | mm: numa: Defer TLB flush for THP migration as long as possiblemm/ mm/ | +6 | 1 reply | |
| 13/18 | mm: numa: Make NUMA-migrate related functions staticmm/ | +3 | 6 replies | |
| 14/18 | mm: numa: Limit scope of lock for NUMA migrate rate limitinginclude/ mm/ | +13 | 1 reply | |
| 15/18 | mm: numa: Trace tasks that fail migration due to rate limitinginclude/ mm/ | +30 | 1 reply | |
| 16/18 | mm: numa: Do not automatically migrate KSM pagesmm/ | +2 | 1 reply | |
| 17/18 | sched: Tracepoint task movementinclude/ kernel/ | +37 | 3 replies | |
| 18/18 | sched: Add tracepoints related to NUMA task migrationinclude/ kernel/ kernel/ | +69 | 1 reply |
Reviews trailers per patch
15 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Rik van Riel |
|---|---|
| 1/18 | R-b |
| 2/18 | R-b |
| 3/18 | R-b |
| 4/18 | R-b |
| 5/18 | R-b |
| 6/18 | R-b |
| 7/18 | R-b |
| 8/18 | R-b |
| 9/18 | R-b |
| 10/18 | R-b |
| 11/18 | |
| 12/18 | |
| 13/18 | R-b |
| 14/18 | R-b |
| 15/18 | R-b |
| 16/18 | R-b |
| 17/18 | |
| 18/18 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/18] NUMA balancing segmentation fault fixes and misc followups v3
Alex Thorlton reported segementation faults when NUMA balancing is enabled on large machines. There is no obvious explanation from the console what the problem but similar problems have been observed by Rik van Riel and myself if migration was aggressive enough. Alex, this series is against 3.13-rc2, a verification that the fix addresses your problem would be appreciated.
This series starts with a range of patches aimed at addressing the segmentation fault problem while offsetting some of the cost to avoid badly regressing performance in -stable. Those that are cc'd to stable (patches 1-12) should be merged ASAP. The rest of the series is relatively minor stuff that fell out during the course of development that is ok to wait for the next merge window but should help with the continued development of NUMA balancing.
arch/sparc/include/asm/pgtable_64.h | 4 +- arch/x86/include/asm/pgtable.h | 11 +++- arch/x86/mm/gup.c | 13 +++++ include/asm-generic/pgtable.h | 2 +- include/linux/migrate.h | 9 ++++ include/linux/mm_types.h | 44 +++++++++++++++ include/linux/mmzone.h | 5 +- include/trace/events/migrate.h | 26 +++++++++ include/trace/events/sched.h | 93 ++++++++++++++++++++++++++++++++ kernel/fork.c | 1 + kernel/sched/core.c | 2 + kernel/sched/fair.c | 15 +++++- mm/huge_memory.c | 45 ++++++++++++---- mm/migrate.c | 103 ++++++++++++++++++++++++++++-------- mm/mprotect.c | 15 ++++-- mm/pgtable-generic.c | 8 ++- 16 files changed, 348 insertions(+), 48 deletions(-)
Signature · 1 line
1.8.4