Messages in this thread | | | Date | Mon, 8 Jun 2009 23:31:35 +0100 | From | Mel Gorman <> | Subject | Re: [PATCH] Add a gfp-translate script to help understand page allocation failure reports |
| |
On Mon, Jun 08, 2009 at 11:25:08PM +0900, Minchan Kim wrote: > Hi, Mel. > > How about handling it in kernel itself ? >
I posted a prototype patch that does something like that. It's not exactly trivial to support without duplicating a pile of code or being very specific to one use-case. I might have over-complicated things though.
> I mean we can print human-readable pretty format instead of > non-understandable hex value. It can help us without knowing other's > people's machine configuration. >
The downsides of handling this in kernel is that more strings are needed, more code and it won't be of any use with reports from older kernels, particularly distro kernels. There is scope for both having the script and formatting it in-kernel.
> BTW, It would be better than now by your script. > Thanks for sharing good tip. :) >
You're welcome.
-- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab
| |