summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorDave Hansen2011-05-25 02:12:16 +0200
committerLinus Torvalds2011-05-25 17:39:21 +0200
commita238ab5b0239575c179f4976064192c3f7409dad (patch)
treebed3d186bee49318e1984eeac489a614ad6acb1b /mm/vmalloc.c
parentmm: convert mm->cpu_vm_cpumask into cpumask_var_t (diff)
downloadkernel-qcow2-linux-a238ab5b0239575c179f4976064192c3f7409dad.tar.gz
kernel-qcow2-linux-a238ab5b0239575c179f4976064192c3f7409dad.tar.xz
kernel-qcow2-linux-a238ab5b0239575c179f4976064192c3f7409dad.zip
mm: break out page allocation warning code
This originally started as a simple patch to give vmalloc() some more verbose output on failure on top of the plain page allocator messages. Johannes suggested that it might be nicer to lead with the vmalloc() info _before_ the page allocator messages. But, I do think there's a lot of value in what __alloc_pages_slowpath() does with its filtering and so forth. This patch creates a new function which other allocators can call instead of relying on the internal page allocator warnings. It also gives this function private rate-limiting which separates it from other printk_ratelimit() users. Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: David Rientjes <rientjes@google.com> Cc: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions