2012年8月7日
摘要: gfp_mask参数可以设置很多值,一下是各个取值的用处(直接引用至LKD):#define GFP_ATOMIC (__GFP_HIGH)GFP_ATOMICThe allocation is high priority and must not sleep. This is the flagto use in interrupt handlers, in bottom halves, while holding a spinlock, and in other situations where you cannot sleep.#define GFP_NOWAIT (GFP_A... 阅读全文
posted @ 2012-08-07 01:42 zylthinking 阅读(2494) 评论(0) 推荐(0) 编辑