kmemleak: Use GFP_ATOMIC for early_alloc().
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fri, 9 Oct 2009 09:39:24 +0000 (10:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Oct 2009 20:28:47 +0000 (13:28 -0700)
commitc1bcd6b327a0c0d5077eb158a600947aac7d124a
tree220d81fbabf491fa0e2461104d36137474c35697
parent084d3200d523fc24d95e97797b6cdf1256bf0d1b
kmemleak: Use GFP_ATOMIC for early_alloc().

We can't use GFP_KERNEL inside rcu_read_lock().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kmemleak.c