mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()
authorVlastimil Babka <[email protected]>
Tue, 15 Mar 2016 21:56:33 +0000 (14:56 -0700)
committerLinus Torvalds <[email protected]>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit5b3810e5c6e1b9a1858464a53b5d72ee050bb918
tree5bfa84a81f1bc4e7dd45214e76c46d3594c41e36
parent1414c7f4f7d72d138fff35f00151d15749b5beda
mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()

We can now print gfp_flags more human-readable.  Make use of this in
slab_out_of_memory() for SLUB and SLAB.  Also convert the SLAB variant
it to pr_warn() along the way.

Signed-off-by: Vlastimil Babka <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[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