kernel-hacking-2024-linux-s.../arch/ia64/mm
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
..
contig.c mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
discontig.c mm, show_mem: suppress page counts in non-blockable contexts 2013-04-29 15:54:28 -07:00
extable.c
fault.c readahead: fault retry breaks mmap file read random detection 2012-10-09 16:22:47 +09:00
hugetlbpage.c mm: use vm_unmapped_area() in hugetlbfs on ia64 architecture 2013-02-22 13:48:24 -08:00
init.c memory-hotplug: introduce new arch_remove_memory() for removing page table 2013-02-23 17:50:12 -08:00
ioremap.c Add WB/UC check for early_ioremap 2013-03-19 16:14:52 -07:00
Makefile
numa.c Fix build error for numa_clear_node() under IA64 2013-04-02 09:39:48 -07:00
tlb.c IA64: drivers: remove __dev* attributes. 2013-01-03 15:57:13 -08:00