|
|
|
@ -108,7 +108,7 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
|
|
|
|
local_irq_restore(flags);
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
@@ -391,7 +391,7 @@ static void *__napi_alloc_frag(unsigned
|
|
|
|
|
@@ -393,7 +393,7 @@ static void *__napi_alloc_frag(unsigned
|
|
|
|
|
{
|
|
|
|
|
struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache);
|
|
|
|
|
|
|
|
|
@ -117,7 +117,7 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void *napi_alloc_frag(unsigned int fragsz)
|
|
|
|
|
@@ -441,7 +441,7 @@ struct sk_buff *__netdev_alloc_skb(struc
|
|
|
|
|
@@ -445,7 +445,7 @@ struct sk_buff *__netdev_alloc_skb(struc
|
|
|
|
|
local_irq_save(flags);
|
|
|
|
|
|
|
|
|
|
nc = this_cpu_ptr(&netdev_alloc_cache);
|
|
|
|
@ -126,7 +126,7 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
|
|
|
|
pfmemalloc = nc->pfmemalloc;
|
|
|
|
|
|
|
|
|
|
local_irq_restore(flags);
|
|
|
|
|
@@ -505,7 +505,7 @@ struct sk_buff *__napi_alloc_skb(struct
|
|
|
|
|
@@ -509,7 +509,7 @@ struct sk_buff *__napi_alloc_skb(struct
|
|
|
|
|
if (sk_memalloc_socks())
|
|
|
|
|
gfp_mask |= __GFP_MEMALLOC;
|
|
|
|
|
|
|
|
|
|