Joonsoo Kim 80c3a9981a slub: fix high order page allocation problem with __GFP_NOFAIL
SLUB already try to allocate high order page with clearing __GFP_NOFAIL.
But, when allocating shadow page for kmemcheck, it missed clearing
the flag. This trigger WARN_ON_ONCE() reported by Christian Casteyde.

https://bugzilla.kernel.org/show_bug.cgi?id=65991
https://lkml.org/lkml/2013/12/3/764

This patch fix this situation by using same allocation flag as original
allocation.

Reported-by: Christian Casteyde <casteyde.christian@free.fr>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
2014-03-27 14:27:34 +02:00
..
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2014-01-30 16:56:55 -08:00
2014-01-30 16:56:55 -08:00
2014-01-23 16:36:52 -08:00
2014-01-27 21:02:39 -08:00
2014-01-23 16:36:53 -08:00
2013-10-16 21:35:53 -07:00
2012-06-20 14:39:36 -07:00
2014-01-23 16:36:53 -08:00
2014-01-30 16:56:55 -08:00