Skip to content

mm: page fault scalability prep

Hugh Dickins lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21mm: hugetlb truncation fixesmm/hugetlb.c+21 -140 replies
2/21mm: copy_pte_range progress fixmm/memory.c+8 -60 replies
3/21mm: msync_pte_range progressmm/msync.c+14 -240 replies
4/21mm: zap_pte_range dont dirty anonmm/memory.c+6 -44 replies
5/21mm: anon is already wrprotectedmm/memory.c mm/swapfile.c+7 -70 replies
6/21mm: vm_stat_account unshackledarch/ia64/kernel/perfmon.c arch/ia64/mm/fault.c include/linux/mm.h +4 more+20 -310 replies
7/21mm: remove_vma_list consolidationmm/mmap.c+12 -240 replies
8/21mm: unlink_file_vma, remove_vmainclude/linux/mm.h mm/mmap.c+28 -140 replies
9/21mm: exit_mmap need not resetmm/mmap.c+0 -60 replies
10/21mm: page fault handlers tidyupinclude/asm-ppc64/pgtable.h mm/memory.c+100 -1240 replies
11/21mm: move_page_tables by extentsmm/mremap.c+71 -950 replies
12/21mm: tlb_gather_mmu get_cpu_varinclude/asm-arm/tlb.h include/asm-arm26/tlb.h include/asm-generic/tlb.h +2 more+19 -130 replies
13/21mm: tlb_is_full_mm was obscurearch/sparc64/mm/tlb.c include/asm-arm/tlb.h include/asm-arm26/tlb.h +4 more+8 -370 replies
14/21mm: tlb_finish_mmu forget rssinclude/asm-arm/tlb.h include/asm-arm26/tlb.h include/asm-generic/tlb.h +3 more+17 -670 replies
15/21mm: mm_init set_mm_countersarch/mips/kernel/irixelf.c arch/sparc64/kernel/binfmt_aout32.c arch/x86_64/ia32/ia32_aout.c +6 more+2 -160 replies
16/21mm: rss = file_rss + anon_rssfs/exec.c fs/proc/array.c fs/proc/task_mmu.c +9 more+38 -370 replies
17/21mm: batch updating mm_countersmm/memory.c+32 -152 replies
18/21mm: dup_mmap use oldmm morekernel/fork.c+6 -60 replies
19/21mm: dup_mmap down new mmap_semkernel/fork.c+4 -50 replies
20/21mm: sh64 hugetlbpage.carch/sh/mm/hugetlbpage.c arch/sh64/mm/hugetlbpage.c+12 -1781 reply
21/21mm: m68k kill stram swapDocumentation/kernel-parameters.txt Documentation/m68k/kernel-options.txt arch/m68k/Kconfig +1 more+17 -9510 replies

Reviews trailers per patch

1 of 21 patches has a Reviewed-by or Acked-by.

PatchPaul Mundt
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21A-b
21/21

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/21] mm: page fault scalability prep

Here comes the preparatory batch for my page fault scalability patches. This batch makes a few fixes - I suggest 01 and 02 should go in 2.6.14 - and a lot of tidyups, clearing some undergrowth for the real patches.

Just occasionally there's a hint of where we shall be heading: as in the prototype posted to linux-mm a month ago, narrowing the scope of the mm page_table_lock, so we can descend pgd,pud,pmd without it; and then, on machines with more cpus, using a lock per page-table page for the ptes. Thanks to Christoph Lameter for his generous endorsement of that approach.

This first batch is one half to one third of the work. The next batch should follow in a few days' time. The long delay, mainly an odyssey through the architectures to satisfy myself of safety, should be over - though I still need to clarify some issues with maintainers, perhaps by posting a few dubious arch patches.

This batch is against 2.6.14-rc2-mm1 plus Hirofumi's msync patch; or against 2.6.14-rc2-git5 plus that and Nick's move_pte patch.

21/21 unfairly weights the deletions in the diffstat, without it we're

 36 files changed, 404 insertions(+), 702 deletions(-)

Hugh

 Documentation/kernel-parameters.txt   |    2 
 Documentation/m68k/kernel-options.txt |   24 
 arch/ia64/kernel/perfmon.c            |    3 
 arch/ia64/mm/fault.c                  |    2 
 arch/m68k/Kconfig                     |   24 
 arch/m68k/atari/stram.c               |  918 ----------------------------------
 arch/mips/kernel/irixelf.c            |    1 
 arch/sh/mm/hugetlbpage.c              |    2 
 arch/sh64/mm/hugetlbpage.c            |  188 ------
 arch/sparc64/kernel/binfmt_aout32.c   |    1 
 arch/sparc64/mm/tlb.c                 |    4 
 arch/x86_64/ia32/ia32_aout.c          |    1 
 fs/binfmt_aout.c                      |    1 
 fs/binfmt_elf.c                       |    1 
 fs/binfmt_elf_fdpic.c                 |    7 
 fs/binfmt_flat.c                      |    1 
 fs/binfmt_som.c                       |    1 
 fs/exec.c                             |    2 
 fs/proc/array.c                       |    2 
 fs/proc/task_mmu.c                    |    8 
 include/asm-arm/tlb.h                 |   23 
 include/asm-arm26/tlb.h               |   47 -
 include/asm-generic/tlb.h             |   23 
 include/asm-ia64/tlb.h                |   19 
 include/asm-ppc64/pgtable.h           |    4 
 include/asm-sparc64/tlb.h             |   29 -
 include/linux/mm.h                    |   17 
 include/linux/sched.h                 |    4 
 kernel/acct.c                         |    2 
 kernel/fork.c                         |   29 -
 mm/fremap.c                           |    4 
 mm/hugetlb.c                          |   37 -
 mm/memory.c                           |  325 ++++++------
 mm/mmap.c                             |   87 +--
 mm/mprotect.c                         |    4 
 mm/mremap.c                           |  170 ++----
 mm/msync.c                            |   38 -
 mm/nommu.c                            |    2 
 mm/rmap.c                             |    8 
 mm/swapfile.c                         |    9 
 40 files changed, 421 insertions(+), 1653 deletions(-)