slab: improve checking for invalid gfp_flags
authorAndrew Morton <[email protected]>
Wed, 10 Dec 2014 23:42:25 +0000 (15:42 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Dec 2014 01:41:04 +0000 (17:41 -0800)
commitc871ac4e9666ad68ae861172ef8a7f73d6e61b26
tree4ca2000cf5e0c663f1b70efadf38127fa7b59b7c
parentf6edde9cbe0634e4391b6e421a609ca3f57f6c38
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 <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slab.c
mm/slub.c