linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 00/17] Add missing __PAGETABLE_{PUD,PMD}_FOLDED defines and introduce CONFIG_PGTABLE_LEVELS
@ 2015-02-26 11:35 Kirill A. Shutemov
  2015-02-26 11:35 ` [PATCHv3 01/17] mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines Kirill A. Shutemov
                   ` (16 more replies)
  0 siblings, 17 replies; 20+ messages in thread
From: Kirill A. Shutemov @ 2015-02-26 11:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel, Kirill A. Shutemov

This is rearrangment of CONFIG_PGTABLE_LEVELS patchset.

The first patch adds all missing __PAGETABLE_{PUD,PMD}_FOLDED defines.
This will fix mm->nr_pmds underflow on affected architectures and should
go into v4.0.

The rest is just a rebase of CONFIG_PGTABLE_LEVELS patchset and can wait
until 4.1.

Kirill A. Shutemov (17):
  mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines
  alpha: expose number of page table levels on Kconfig level
  arm64: expose number of page table levels on Kconfig level
  arm: expose number of page table levels on Kconfig level
  ia64: expose number of page table levels on Kconfig level
  m68k: mark PMD folded and expose number of page table levels
  mips: expose number of page table levels on Kconfig level
  parisc: expose number of page table levels on Kconfig level
  powerpc: expose number of page table levels on Kconfig level
  s390: expose number of page table levels
  sh: expose number of page table levels
  sparc: expose number of page table levels
  tile: expose number of page table levels
  um: expose number of page table levels
  x86: expose number of page table levels on Kconfig level
  mm: define default PGTABLE_LEVELS to two
  mm: do not add nr_pmds into mm_struct if PMD is folded

 arch/Kconfig                                |  4 ++++
 arch/alpha/Kconfig                          |  4 ++++
 arch/arm/Kconfig                            |  5 +++++
 arch/arm64/Kconfig                          | 14 +++++++-------
 arch/arm64/include/asm/kvm_mmu.h            |  4 ++--
 arch/arm64/include/asm/page.h               |  4 ++--
 arch/arm64/include/asm/pgalloc.h            |  8 ++++----
 arch/arm64/include/asm/pgtable-hwdef.h      |  6 +++---
 arch/arm64/include/asm/pgtable-types.h      | 12 ++++++------
 arch/arm64/include/asm/pgtable.h            |  8 ++++----
 arch/arm64/include/asm/tlb.h                |  4 ++--
 arch/arm64/mm/mmu.c                         |  4 ++--
 arch/frv/include/asm/pgtable.h              |  2 ++
 arch/ia64/Kconfig                           | 18 +++++-------------
 arch/ia64/include/asm/page.h                |  4 ++--
 arch/ia64/include/asm/pgalloc.h             |  4 ++--
 arch/ia64/include/asm/pgtable.h             | 12 ++++++------
 arch/ia64/kernel/ivt.S                      | 12 ++++++------
 arch/ia64/kernel/machine_kexec.c            |  4 ++--
 arch/m32r/include/asm/pgtable-2level.h      |  1 +
 arch/m68k/Kconfig                           |  4 ++++
 arch/m68k/include/asm/pgtable_mm.h          |  2 ++
 arch/mips/Kconfig                           |  5 +++++
 arch/mn10300/include/asm/pgtable.h          |  2 ++
 arch/parisc/Kconfig                         |  5 +++++
 arch/parisc/include/asm/pgalloc.h           |  2 +-
 arch/parisc/include/asm/pgtable.h           | 17 ++++++++---------
 arch/parisc/kernel/entry.S                  |  4 ++--
 arch/parisc/kernel/head.S                   |  4 ++--
 arch/parisc/mm/init.c                       |  2 +-
 arch/powerpc/Kconfig                        |  6 ++++++
 arch/s390/Kconfig                           |  5 +++++
 arch/s390/include/asm/pgtable.h             |  2 ++
 arch/sh/Kconfig                             |  4 ++++
 arch/sparc/Kconfig                          |  4 ++++
 arch/tile/Kconfig                           |  5 +++++
 arch/um/Kconfig.um                          |  5 +++++
 arch/x86/Kconfig                            |  6 ++++++
 arch/x86/include/asm/paravirt.h             |  8 ++++----
 arch/x86/include/asm/paravirt_types.h       |  8 ++++----
 arch/x86/include/asm/pgalloc.h              |  8 ++++----
 arch/x86/include/asm/pgtable-2level_types.h |  1 -
 arch/x86/include/asm/pgtable-3level_types.h |  2 --
 arch/x86/include/asm/pgtable.h              |  8 ++++----
 arch/x86/include/asm/pgtable_64_types.h     |  1 -
 arch/x86/include/asm/pgtable_types.h        |  4 ++--
 arch/x86/kernel/paravirt.c                  |  6 +++---
 arch/x86/mm/pgtable.c                       | 14 +++++++-------
 arch/x86/xen/mmu.c                          | 14 +++++++-------
 include/asm-generic/pgtable.h               |  5 +++++
 include/linux/mm_types.h                    |  2 ++
 include/trace/events/xen.h                  |  2 +-
 52 files changed, 183 insertions(+), 118 deletions(-)

-- 
2.1.4

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-02-26 20:05 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 11:35 [PATCHv3 00/17] Add missing __PAGETABLE_{PUD,PMD}_FOLDED defines and introduce CONFIG_PGTABLE_LEVELS Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 01/17] mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines Kirill A. Shutemov
2015-02-26 20:04   ` Aaro Koskinen
2015-02-26 11:35 ` [PATCHv3 02/17] alpha: expose number of page table levels on Kconfig level Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 03/17] arm64: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 04/17] arm: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 05/17] ia64: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 06/17] m68k: mark PMD folded and expose number of page table levels Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 07/17] mips: expose number of page table levels on Kconfig level Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 08/17] parisc: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 09/17] powerpc: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 10/17] s390: expose number of page table levels Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 11/17] sh: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 12/17] sparc: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 13/17] tile: " Kirill A. Shutemov
2015-02-26 15:23   ` Chris Metcalf
2015-02-26 11:35 ` [PATCHv3 14/17] um: " Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 15/17] x86: expose number of page table levels on Kconfig level Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 16/17] mm: define default PGTABLE_LEVELS to two Kirill A. Shutemov
2015-02-26 11:35 ` [PATCHv3 17/17] mm: do not add nr_pmds into mm_struct if PMD is folded Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox