android_kernel_google_msm/arch/unicore32/mm
David Rientjes 022a41db8a mm, show_mem: suppress page counts in non-blockable contexts
commit 4b59e6c473 upstream.

On large systems with a lot of memory, walking all RAM to determine page
types may take a half second or even more.

In non-blockable contexts, the page allocator will emit a page allocation
failure warning unless __GFP_NOWARN is specified.  In such contexts, irqs
are typically disabled and such a lengthy delay may even result in NMI
watchdog timeouts.

To fix this, suppress the page walk in such contexts when printing the
page allocation failure warning.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mgorman@suse.de>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Xishi Qiu <qiuxishi@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-13 15:42:49 -07:00
..
alignment.c Disintegrate asm/system.h for Unicore32 [based on ver #3, changed by gxt] 2012-03-28 18:30:03 +01:00
cache-ucv2.S unicore32 core architecture: mm related: consistent device DMA handling 2011-03-17 09:19:09 +08:00
dma-swiotlb.c Unicore32: adapt for dma_map_ops changes 2012-03-28 16:36:39 +02:00
extable.c unicore32 core architecture: mm related: fault handling 2011-03-17 09:19:09 +08:00
fault.c Disintegrate asm/system.h for Unicore32 [based on ver #3, changed by gxt] 2012-03-28 18:30:03 +01:00
flush.c Disintegrate asm/system.h for Unicore32 [based on ver #3, changed by gxt] 2012-03-28 18:30:03 +01:00
init.c mm, show_mem: suppress page counts in non-blockable contexts 2013-10-13 15:42:49 -07:00
ioremap.c unicore32 core architecture: mm related: generic codes 2011-03-17 09:19:08 +08:00
Kconfig unicore32 core architecture: mm related: generic codes 2011-03-17 09:19:08 +08:00
Makefile unicore32: replace unicore32-specific iomap functions with generic lib implementation 2011-03-17 09:19:21 +08:00
mm.h Disintegrate asm/system.h for Unicore32 [based on ver #3, changed by gxt] 2012-03-28 18:30:03 +01:00
mmu.c memblock: Fix include breakages caused by 24aa07882b 2011-12-08 10:22:06 -08:00
pgd.c unicore32 upgrade to v2.6.38-rc5: add one more paramter for pte_alloc_map call 2011-03-17 09:19:18 +08:00
proc-macros.S
proc-syms.c
proc-ucv2.S
tlb-ucv2.S unicore32 core architecture: mm related: consistent device DMA handling 2011-03-17 09:19:09 +08:00