aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2017-11-07 08:33:37 +0000
committerIngo Molnar <[email protected]>2017-11-07 10:16:08 +0000
commit629a359bdb0e0652a8227b4ff3125431995fec6e (patch)
tree4cc7f4e4bec511139adf89bd7ee9081052b7750d /tools/perf/scripts/python/compaction-times.py
parentx86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_... (diff)
downloadkernel-629a359bdb0e0652a8227b4ff3125431995fec6e.tar.gz
kernel-629a359bdb0e0652a8227b4ff3125431995fec6e.zip
mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y
Since commit: 83e3c48729d9 ("mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y") we allocate the mem_section array dynamically in sparse_memory_present_with_active_regions(), but some architectures, like arm64, don't call the routine to initialize sparsemem. Let's move the initialization into memory_present() it should cover all architectures. Reported-and-tested-by: Sudeep Holla <[email protected]> Tested-by: Bjorn Andersson <[email protected]> Signed-off-by: Kirill A. Shutemov <[email protected]> Acked-by: Will Deacon <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Fixes: 83e3c48729d9 ("mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions