]> git.baikalelectronics.ru Git - kernel.git/commit
slab: improve checking for invalid gfp_flags
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 10 Dec 2014 23:42:25 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commit94caced7043277e9b1122792985c76e2f868a00c
tree4ca2000cf5e0c663f1b70efadf38127fa7b59b7c
parentbb1282ca5117f0b9c5ce873b51cb69f9ec9ecb66
slab: improve checking for invalid gfp_flags

The code goes BUG, but doesn't tell us which bits were unexpectedly set.
Print that out.

Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c
mm/slub.c