On Wed, 7 Mar 2012, Dave Jones wrote: > Decoding these flags by hand in oom reports is tedious, > and error-prone. > Something like this is already done in include/trace/events/gfpflags.h so there should be a generic version of this or something you can already use. The problem here is that you have to allocate an additional 80-bytes for the string and the oom killer is notorious for being called deep in the stack and you can't statically allocate a string buffer without adding additional syncronization. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>