|
|
|
@ -33,7 +33,7 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
|
|
|
|
extern void page_frag_free(void *addr);
|
|
|
|
|
--- a/mm/page_alloc.c
|
|
|
|
|
+++ b/mm/page_alloc.c
|
|
|
|
|
@@ -3924,8 +3924,8 @@ EXPORT_SYMBOL(free_pages);
|
|
|
|
|
@@ -3914,8 +3914,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 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
|
|
|
|
{
|
|
|
|
|
struct page *page = NULL;
|
|
|
|
|
gfp_t gfp = gfp_mask;
|
|
|
|
|
@@ -3945,19 +3945,20 @@ static struct page *__page_frag_refill(s
|
|
|
|
|
@@ -3935,19 +3935,20 @@ static struct page *__page_frag_refill(s
|
|
|
|
|
return page;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -68,7 +68,7 @@ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
|
|
|
|
|
|
|
|
|
void *page_frag_alloc(struct page_frag_cache *nc,
|
|
|
|
|
unsigned int fragsz, gfp_t gfp_mask)
|
|
|
|
|
@@ -3968,7 +3969,7 @@ void *page_frag_alloc(struct page_frag_c
|
|
|
|
|
@@ -3958,7 +3959,7 @@ void *page_frag_alloc(struct page_frag_c
|
|
|
|
|
|
|
|
|
|
if (unlikely(!nc->va)) {
|
|
|
|
|
refill:
|
|
|
|
|