Skip to content

Latest numa/core patches, v15

Ingo Molnar linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 9 repliesIn review

Changes in this version from the cover letter

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31mm/generic: Only flush the local TLB in ptep_set_access_flags()mm/pgtable-generic.c+3 -30 replies
2/31x86/mm: Only do a local tlb flush in ptep_set_access_flags()arch/x86/mm/pgtable.c+8 -10 replies
3/31sched, numa, mm: Make find_busiest_queue() a methodkernel/sched/fair.c+12 -80 replies
4/31sched, numa, mm: Describe the NUMA scheduling problem formallyDocumentation/scheduler/numa-problem.txt+230 -00 replies
5/31sched, numa, mm, s390/thp: Implement pmd_pgprot() for s390arch/s390/include/asm/pgtable.h+13 -00 replies
6/31mm/thp: Preserve pgprot across huge page splitarch/x86/include/asm/pgtable.h mm/huge_memory.c+50 -540 replies
7/31x86/mm: Introduce pte_accessible()arch/x86/include/asm/pgtable.h include/asm-generic/pgtable.h+10 -00 replies
8/31mm: Only flush the TLB when clearing an accessible ptemm/pgtable-generic.c+2 -10 replies
9/31sched, numa, mm, MIPS/thp: Add pmd_pgprot() implementationarch/mips/include/asm/pgtable.h+2 -00 replies
10/31mm/pgprot: Move the pgprot_modify() fallback definition to mm.hinclude/linux/mm.h mm/mprotect.c+13 -70 replies
11/31mm/mpol: Make MPOL_LOCAL a real policyinclude/uapi/linux/mempolicy.h mm/mempolicy.c+7 -30 replies
12/31mm/mpol: Add MPOL_MF_NOOPinclude/uapi/linux/mempolicy.h mm/mempolicy.c+7 -50 replies
13/31mm/mpol: Check for misplaced pageinclude/linux/mempolicy.h include/uapi/linux/mempolicy.h mm/mempolicy.c+85 -00 replies
14/31mm/mpol: Create special PROT_NONE infrastructureinclude/linux/huge_mm.h include/linux/mm.h mm/huge_memory.c +2 more+154 -140 replies
15/31mm/mpol: Add MPOL_MF_LAZYinclude/uapi/linux/mempolicy.h mm/mempolicy.c+42 -200 replies
16/31numa, mm: Support NUMA hinting page faults from gup/gup_fastinclude/linux/mm.h mm/memory.c+18 -00 replies
17/31mm/migrate: Introduce migrate_misplaced_page()include/linux/migrate.h include/linux/migrate_mode.h mm/migrate.c+87 -80 replies
18/31mm/mpol: Use special PROT_NONE to migrate pagesmm/huge_memory.c mm/memory.c+85 -190 replies
19/31x86/mm: Completely drop the TLB flush from ptep_set_access_flags()arch/x86/mm/pgtable.c+0 -10 replies
20/31sched, numa, mm: Introduce sched_feat_numa()kernel/sched/sched.h+6 -00 replies
21/31sched, numa, mm: Implement THP migrationmm/huge_memory.c mm/migrate.c+103 -305 replies
22/31sched, numa, mm: Add last_cpu to page flagsinclude/linux/mm.h include/linux/mm_types.h include/linux/mmzone.h +4 more+149 -540 replies
23/31sched, numa, mm, arch: Add variable locality exceptionarch/sh/mm/Kconfig init/Kconfig+8 -00 replies
24/31sched, numa, mm: Add credits for NUMA placementCREDITS kernel/sched/fair.c mm/memory.c+6 -00 replies
25/31sched, mm, x86: Add the ARCH_SUPPORTS_NUMA_BALANCING flaginit/Kconfig+7 -00 replies
26/31sched, numa, mm: Add the scanning page fault machineryinclude/linux/init_task.h include/linux/mm_types.h include/linux/sched.h +6 more+193 -250 replies
27/31sched, numa, mm: Add adaptive NUMA affinity supportDocumentation/scheduler/numa-problem.txt arch/x86/Kconfig include/linux/sched.h +4 more+901 -1970 replies
28/31sched, numa, mm: Implement constant, per task Working Set Sampling (WSS) rateinclude/linux/mm_types.h include/linux/sched.h kernel/sched/fair.c +1 more+38 -120 replies
29/31sched, numa, mm: Count WS scanning against present PTEs, not virtual memory rangesinclude/linux/hugetlb.h include/linux/mm.h kernel/sched/fair.c +2 more+68 -340 replies
30/31sched, numa, mm: Implement slow start for working set samplinginclude/linux/sched.h kernel/sched/core.c kernel/sched/fair.c +1 more+19 -70 replies
31/31mm: Allow the migration of shared pagesmm/migrate.c+0 -60 replies

Reviews trailers per patch

13 of 31 patches have a Reviewed-by or Acked-by.

PatchLinus TorvaldsPeter ZijlstraRik van RielChristoph LameterReported-by: Fengguang WuAndrea ArcangeliLee SchermerhornMel GormanDan CarpenterZhouping Liu
1/31A-b A-b
2/31A-b A-b
3/31
4/31
5/31
6/31R-b
7/31Fixed-by
8/31
9/31
10/31A-b
11/31R-b Requested-by
12/31R-b Bug-Reported-by
13/31R-b
14/31R-b
15/31R-b
16/31Originally-by
17/31R-b Based-on-work-by
18/31R-b
19/31A-b A-b
20/31
21/31T-b Previous-Version-Tested-by
22/31
23/31Named-by
24/31A-b
25/31
26/31
27/31
28/31Based-on-idea-by Bug-Found-By
29/31
30/31
31/31

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

Read the v1 thread

Cover letter [PATCH 00/31] Latest numa/core patches, v15

Hi,

This is the latest iteration of our numa/core tree, which implements adaptive NUMA affinity balancing.

Changes in this version:

    https://lkml.org/lkml/2012/11/12/315

Performance figures:

    https://lkml.org/lkml/2012/11/12/330

Any review feedback, comments and test results are welcome!

For testing purposes I'd suggest using the latest tip:master integration tree, which has the latest numa/core tree merged:

git pull git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master

(But you can also directly use the tip:numa/core tree as well.)

Thanks,

Ingo

----------------------->
Andrea Arcangeli (1):
numa, mm: Support NUMA hinting page faults from gup/gup_fast

Gerald Schaefer (1):
sched, numa, mm, s390/thp: Implement pmd_pgprot() for s390

Ingo Molnar (3):
mm/pgprot: Move the pgprot_modify() fallback definition to mm.h sched, mm, x86: Add the ARCH_SUPPORTS_NUMA_BALANCING flag
mm: Allow the migration of shared pages

Lee Schermerhorn (3):
mm/mpol: Add MPOL_MF_NOOP
mm/mpol: Check for misplaced page
mm/mpol: Add MPOL_MF_LAZY

Peter Zijlstra (16):
sched, numa, mm: Make find_busiest_queue() a method
sched, numa, mm: Describe the NUMA scheduling problem formally mm/thp: Preserve pgprot across huge page split
mm/mpol: Make MPOL_LOCAL a real policy
mm/mpol: Create special PROT_NONE infrastructure
mm/migrate: Introduce migrate_misplaced_page()
mm/mpol: Use special PROT_NONE to migrate pages
sched, numa, mm: Introduce sched_feat_numa()
sched, numa, mm: Implement THP migration
sched, numa, mm: Add last_cpu to page flags
sched, numa, mm, arch: Add variable locality exception
sched, numa, mm: Add the scanning page fault machinery
sched, numa, mm: Add adaptive NUMA affinity support
sched, numa, mm: Implement constant, per task Working Set Sampling (WSS) rate sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges sched, numa, mm: Implement slow start for working set sampling

Ralf Baechle (1):
sched, numa, mm, MIPS/thp: Add pmd_pgprot() implementation

Rik van Riel (6):
mm/generic: Only flush the local TLB in ptep_set_access_flags() x86/mm: Only do a local tlb flush in ptep_set_access_flags() x86/mm: Introduce pte_accessible()
mm: Only flush the TLB when clearing an accessible pte x86/mm: Completely drop the TLB flush from ptep_set_access_flags() sched, numa, mm: Add credits for NUMA placement

---

 CREDITS                                  |    1 +
 Documentation/scheduler/numa-problem.txt |  236 +++++++++++
 arch/mips/include/asm/pgtable.h          |    2 +
 arch/s390/include/asm/pgtable.h          |   13 +
 arch/sh/mm/Kconfig                       |    1 +
 arch/x86/Kconfig                         |    1 +
 arch/x86/include/asm/pgtable.h           |    7 +
 arch/x86/mm/pgtable.c                    |    8 +-
 include/asm-generic/pgtable.h            |    4 +
 include/linux/huge_mm.h                  |   19 +
 include/linux/hugetlb.h                  |    8 +-
 include/linux/init_task.h                |    8 +
 include/linux/mempolicy.h                |    8 +
 include/linux/migrate.h                  |    7 +
 include/linux/migrate_mode.h             |    3 +
 include/linux/mm.h                       |  122 ++++--
 include/linux/mm_types.h                 |   10 +
 include/linux/mmzone.h                   |   14 +-
 include/linux/page-flags-layout.h        |   83 ++++
 include/linux/sched.h                    |   46 ++-
 include/uapi/linux/mempolicy.h           |   16 +-
 init/Kconfig                             |   23 ++
 kernel/bounds.c                          |    2 +
 kernel/sched/core.c                      |   68 +++-
 kernel/sched/fair.c                      | 1032 ++++++++++++++++++++++++++++++++++++++++---------
 kernel/sched/features.h                  |    8 +
 kernel/sched/sched.h                     |   38 +-
 kernel/sysctl.c                          |   45 ++-
 mm/huge_memory.c                         |  253 +++++++++---
 mm/hugetlb.c                             |   10 +-
 mm/memory.c                              |  129 ++++++-
 mm/mempolicy.c                           |  206 ++++++++--
 mm/migrate.c                             |   81 +++-
 mm/mprotect.c                            |   64 ++-
 mm/pgtable-generic.c                     |    9 +-
 35 files changed, 2200 insertions(+), 385 deletions(-)
 create mode 100644 Documentation/scheduler/numa-problem.txt
 create mode 100644 include/linux/page-flags-layout.h

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>