vmalloc(): adjust gfp mask passed on nested vmalloc() invocation
authorJan Beulich <JBeulich@novell.com>
Tue, 15 Dec 2009 01:58:39 +0000 (17:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:13 +0000 (08:53 -0800)
commit976d6dfbb0175d136fc098854bbce0c028a3924b
tree1ae6511b70d1272fffa1124d8ba69fc6a2d90422
parentbad44b5be84cf3bb1ff900bec02ee61e1993328c
vmalloc(): adjust gfp mask passed on nested vmalloc() invocation

- avoid wasting more precious resources (DMA or DMA32 pools), when
  being called through vmalloc_32{,_user}()
- explicitly allow using high memory here even if the outer allocation
  request doesn't allow it

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c