摘要:
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... 阅读全文