[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1203071548200.29642@chino.kir.corp.google.com>
Date: Wed, 7 Mar 2012 15:53:23 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Dave Jones <davej@...hat.com>,
Linux Kernel <linux-kernel@...r.kernel.org>, linux-mm@...ck.org
Subject: Re: decode GFP flags in oom killer output.
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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists