Skip to content

sched-numa rewrite

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 33 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19task_work: Remove dependency on sched.hinclude/linux/task_work.h kernel/exit.c+4 -81 reply
2/19mm/mpol: Remove NUMA_INTERLEAVE_HITdrivers/base/node.c include/linux/mmzone.h mm/mempolicy.c +1 more+22 -503 replies
3/19mm/mpol: Make MPOL_LOCAL a real policyinclude/linux/mempolicy.h mm/mempolicy.c+7 -31 reply
4/19mm, thp: Preserve pgprot across huge page splitarch/x86/include/asm/pgtable.h mm/huge_memory.c+50 -552 replies
5/19mm, mpol: Create special PROT_NONE infrastructureinclude/linux/huge_mm.h include/linux/mempolicy.h include/linux/mm.h +4 more+159 -152 replies
6/19mm/mpol: Add MPOL_MF_LAZY ...include/linux/mempolicy.h mm/mempolicy.c+39 -201 reply
7/19mm/mpol: Add MPOL_MF_NOOPinclude/linux/mempolicy.h mm/mempolicy.c+5 -44 replies
8/19mm/mpol: Check for misplaced pageinclude/linux/mempolicy.h mm/mempolicy.c+88 -01 reply
9/19mm, migrate: Introduce migrate_misplaced_page()include/linux/migrate.h include/linux/migrate_mode.h mm/migrate.c+87 -81 reply
10/19mm, mpol: Use special PROT_NONE to migrate pagesmm/huge_memory.c mm/memory.c+76 -72 replies
11/19sched, mm: Introduce tsk_home_node()include/linux/init_task.h include/linux/sched.h kernel/sched/core.c+50 -01 reply
12/19mm/mpol: Make mempolicy home-node awaremm/mempolicy.c+27 -21 reply
13/19sched: Introduce sched_feat_numa()kernel/sched/sched.h+6 -01 reply
14/19sched: Make find_busiest_queue() a methodkernel/sched/fair.c+12 -71 reply
15/19sched: Implement home-node awarenessinclude/linux/sched.h kernel/sched/core.c kernel/sched/debug.c +3 more+261 -142 replies
16/19sched, numa: NUMA home-node selection codeinclude/linux/init_task.h include/linux/mm_types.h include/linux/sched.h +5 more+227 -261 reply
17/19sched, numa: Detect big processesinclude/linux/mm_types.h include/linux/sched.h kernel/sched/core.c +1 more+55 -31 reply
18/19sched, numa: Per task memory placement for big processesinclude/linux/mempolicy.h include/linux/mm_types.h kernel/sched/fair.c +4 more+101 -233 replies
19/19mm, numa: retry failed page migrationsinclude/linux/mm_types.h kernel/sched/core.c kernel/sched/fair.c +1 more+34 -41 reply

Reviews trailers per patch

17 of 19 patches have a Reviewed-by or Acked-by.

PatchLee SchermerhornChristoph LameterRik van Riel
1/19A-b
2/19A-b
3/19Requested-by A-b
4/19A-b
5/19A-b
6/19A-b
7/19A-b
8/19A-b
9/19Based-on-work-by A-b
10/19A-b
11/19A-b
12/19A-b
13/19A-b
14/19A-b
15/19A-b
16/19A-b
17/19A-b
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/19] sched-numa rewrite

Hi all,

After having had a talk with Rik about all this NUMA nonsense where he proposed the scheme implemented in the next to last patch, I came up with a related means of doing the home-node selection.

I've also switched to (ab)using PROT_NONE for driving the migration faults.

These patches go on top of tip/master with origin/master (Linus' tree) merged in.

Since the posting of last week (which was private due to operator error and not intention) Ingo dropped all the previous patches from tip and I did a complete rebase of the series, making all the back and forth of old and new stuff go away.

---
 arch/x86/include/asm/pgtable.h |    1 +
 drivers/base/node.c            |    2 +-
 include/linux/huge_mm.h        |    3 +
 include/linux/init_task.h      |    9 +
 include/linux/mempolicy.h      |   30 ++-
 include/linux/migrate.h        |    7 +
 include/linux/migrate_mode.h   |    3 +
 include/linux/mm.h             |   12 +
 include/linux/mm_types.h       |   12 +
 include/linux/mmzone.h         |    1 -
 include/linux/sched.h          |   30 ++-
 include/linux/task_work.h      |    7 -
 kernel/exit.c                  |    5 +-
 kernel/sched/core.c            |   71 ++++++-
 kernel/sched/debug.c           |    3 +
 kernel/sched/fair.c            |  501 ++++++++++++++++++++++++++++++++++++++--
 kernel/sched/features.h        |   10 +
 kernel/sched/sched.h           |   37 +++
 kernel/sysctl.c                |   13 +-
 mm/huge_memory.c               |  165 +++++++++-----
 mm/memory.c                    |  125 ++++++++++-
 mm/mempolicy.c                 |  296 ++++++++++++++++++------
 mm/migrate.c                   |   85 ++++++-
 mm/mprotect.c                  |   24 ++-
 mm/vmstat.c                    |    1 -
 25 files changed, 1257 insertions(+), 196 deletions(-)