diff options
author | Michal Hocko <mhocko@suse.com> | 2016-07-26 15:22:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 16:19:19 -0700 |
commit | bacdcb346093794f292c2c9c67ae350895e8b7ef (patch) | |
tree | 2b2e6b55fac0674802f85156453525716e16f176 /tools/include | |
parent | 210e7a43fa905bccafa9bb5966fba1d71f33eb8b (diff) | |
download | lwn-bacdcb346093794f292c2c9c67ae350895e8b7ef.tar.gz lwn-bacdcb346093794f292c2c9c67ae350895e8b7ef.zip |
slab: make GFP_SLAB_BUG_MASK information more human readable
printk offers %pGg for quite some time so let's use it to get a human
readable list of invalid flags.
The original output would be
[ 429.191962] gfp: 2
after the change
[ 429.191962] Unexpected gfp: 0x2 (__GFP_HIGHMEM)
Link: http://lkml.kernel.org/r/1465548200-11384-1-git-send-email-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
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>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions