diff options
| author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2014-03-12 17:26:20 +0900 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-28 15:14:01 +0200 |
| commit | dcbe1f5d891d56809c2706b686da13bd17c9597e (patch) | |
| tree | 988d0323a03e203567ce527580c4b5057f5f82bc /include | |
| parent | 09c6c2b8ece35c88b5f9bb4b52d853113478efc2 (diff) | |
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>
Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
