OpenWrt
/branches/18.06.1/target/linux/generic/backport-4.9/042-mm-rename-__page_frag-functions-to-__page_frag_cache.patch |
@@ -33,7 +33,7 @@ |
extern void page_frag_free(void *addr); |
--- a/mm/page_alloc.c |
+++ b/mm/page_alloc.c |
@@ -3914,8 +3914,8 @@ EXPORT_SYMBOL(free_pages); |
@@ -3924,8 +3924,8 @@ EXPORT_SYMBOL(free_pages); |
* drivers to provide a backing region of memory for use as either an |
* sk_buff->head, or to be used in the "frags" portion of skb_shared_info. |
*/ |
@@ -44,7 +44,7 @@ |
{ |
struct page *page = NULL; |
gfp_t gfp = gfp_mask; |
@@ -3935,19 +3935,20 @@ static struct page *__page_frag_refill(s |
@@ -3945,19 +3945,20 @@ static struct page *__page_frag_refill(s |
return page; |
} |
|
@@ -68,7 +68,7 @@ |
|
void *page_frag_alloc(struct page_frag_cache *nc, |
unsigned int fragsz, gfp_t gfp_mask) |
@@ -3958,7 +3959,7 @@ void *page_frag_alloc(struct page_frag_c |
@@ -3968,7 +3969,7 @@ void *page_frag_alloc(struct page_frag_c |
|
if (unlikely(!nc->va)) { |
refill: |