kernel_optimize_test/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
arc
arm mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
arm64
avr32 avr32: fix build error in atstk1006_defconfig 2013-04-17 16:10:44 -07:00
blackfin
c6x
cris
frv
h8300
hexagon
ia64 mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
m32r
m68k
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
sparc USB patches for 3.10-rc1 2013-04-29 12:19:23 -07:00
tile
um
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