Re: [PATCH] Add a gfp-translate script to help understand pageallocation failure reports

From: Pekka Enberg
Date: Mon Jun 08 2009 - 09:53:45 EST


On Mon, 2009-06-08 at 09:45 -0400, Rik van Riel wrote:
> Mel Gorman wrote:
>
> > mel@machina:~/linux-2.6 $ scripts/gfp-translate 0x4020
> > Source: /home/mel/linux-2.6
> > Parsing: 0x4020
> > #define __GFP_HIGH (0x20) /* Should access emergency pools? */
> > #define __GFP_COMP (0x4000) /* Add compound page metadata */
> >
> > The script is not a work of art but it has come in handy for me a few times
> > so I thought I would share.
>
> Sweet. This is just what I've been waiting for!
>
> > Signed-off-by: Mel Gorman <mel@xxxxxxxxx>
>
> Acked-by: Rik van Riel <riel@xxxxxxxxxx>

Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/