Wednesday, July 15, 2009

include/linux/gfp.h


0x00u 0 -> __GFP_NORMAL
0x01u 1 -> __GFP_DMA
0x02u 10 -> __GFP_HIGHMEM
0x04u 100 -> __GFP_DMA32
0x08u 1000 -> __GFP_MOVABLE
0x0fu 1111 -> __GFP_ZONEMASK
0x10u 10000 -> __GFP_WAIT
0x20u 100000 -> __GFP_HIGH
0x40u 1000000 -> __GFP_IO
0x80u 10000000 -> __GFP_FS
0x100u 100000000 -> __GFP_COLD

./scripts/gfp-translate to translate VM oops GFP flag hex code, for example 0x4020 would be
__GFP_COMP | __GFP_HIGH


No comments:

Post a Comment

Followers