linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/5] sparse-vmemmap: hotplug fixes & cleanups
@ 2013-03-20 18:03 Johannes Weiner
  2013-03-20 18:03 ` [patch 1/5] mm: Try harder to allocate vmemmap blocks Johannes Weiner
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Johannes Weiner @ 2013-03-20 18:03 UTC (permalink / raw)
  To: x86, Andrew Morton; +Cc: Ben Hutchings, linux-mm, linux-arch, linux-kernel

Hotplug can happen at times when the memory situation is less than
perfect to allocate huge pages for the vmemmap.  This series makes the
allocation try harder in patch #1.  The remaining patches allow x86-64
to fall back to regular pages as a last resort before the hotplug
event fails completely.  As a prerequisite to this, the arch interface
to sparse is cleaned up a little, which should also enable other
architectures to easily mix huge and regular pages in the vmemmap.

 arch/arm64/mm/mmu.c       | 13 +++++--------
 arch/ia64/mm/discontig.c  |  7 +++----
 arch/powerpc/mm/init_64.c | 11 +++--------
 arch/s390/mm/vmem.c       | 13 +++++--------
 arch/sparc/mm/init_64.c   |  7 +++----
 arch/x86/mm/init_64.c     | 68 ++++++++++++++++++++++++++++++++------------------------------------
 include/linux/mm.h        |  8 ++++----
 mm/sparse-vmemmap.c       | 27 +++++++++++++++++----------
 mm/sparse.c               | 10 ++++++++--
 9 files changed, 80 insertions(+), 84 deletions(-)

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

end of thread, other threads:[~2013-03-20 18:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20 18:03 [patch 0/5] sparse-vmemmap: hotplug fixes & cleanups Johannes Weiner
2013-03-20 18:03 ` [patch 1/5] mm: Try harder to allocate vmemmap blocks Johannes Weiner
2013-03-20 18:03   ` Johannes Weiner
2013-03-20 18:03 ` [patch 2/5] sparse-vmemmap: specify vmemmap population range in bytes Johannes Weiner
2013-03-20 18:03   ` Johannes Weiner
2013-03-20 18:43   ` David Miller
2013-03-20 18:03 ` [patch 3/5] x86-64: remove dead debugging code for !pse setups Johannes Weiner
2013-03-20 18:03   ` Johannes Weiner
2013-03-20 18:03 ` [patch 4/5] x86-64: use vmemmap_populate_basepages() " Johannes Weiner
2013-03-20 18:03   ` Johannes Weiner
2013-03-20 18:03 ` [patch 5/5] x86-64: fall back to regular page vmemmap on allocation failure Johannes Weiner
2013-03-20 18:03   ` Johannes Weiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).