remarkable-linux/arch
David Rientjes 4b59e6c473 mm, show_mem: suppress page counts in non-blockable contexts
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>
2013-04-29 15:54:28 -07:00
..
alpha alpha: irq: remove deprecated use of IRQF_DISABLED 2013-04-07 12:59:30 -07:00
arc ARC: Add implicit compiler barrier to raw_local_irq* functions 2013-04-08 16:10:26 -07:00
arm mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
arm64 Fix IS_ENABLED() usage typo (missing CONFIG_ prefix). 2013-03-28 13:45:49 -07:00
avr32 avr32: fix build error in atstk1006_defconfig 2013-04-17 16:10:44 -07:00
blackfin
c6x add memory barrier to arch_local_irq_restore 2013-04-09 15:35:46 -04:00
cris
frv
h8300
hexagon
ia64 mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
m32r UAPI: fix endianness conditionals in M32R's asm/stat.h 2013-03-13 15:21:49 -07:00
m68k m68k: define a local gpio_request_one() function 2013-04-09 15:15:31 +10:00
metag
microblaze
mips USB patches for 3.10-rc1 2013-04-29 12:19:23 -07:00
mn10300
openrisc
parisc mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
powerpc USB patches for 3.10-rc1 2013-04-29 12:19:23 -07:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2013-04-29 08:19:39 -07:00
score
sh usb: renesas_usbhs: fixup sparse errors for common.c 2013-04-02 11:42:48 +03:00
sparc USB patches for 3.10-rc1 2013-04-29 12:19:23 -07:00
tile tile: comment assumption about __insn_mtspr for <asm/irqflags.h> 2013-04-09 10:08:14 -07:00
um Merge 3.9-rc3 into tty-next 2013-03-21 16:07:34 -07:00
unicore32 mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
x86 mkcapflags.pl: convert to mkcapflags.sh 2013-04-29 15:54:27 -07:00
xtensa
.gitignore
Kconfig