1__SKB_ALLOC_PAGE(9) Linux Networking __SKB_ALLOC_PAGE(9)
2
3
4
6 __skb_alloc_page - allocate a page for ps-rx for a given skb and
7 preserve pfmemalloc data
8
10 struct page * __skb_alloc_page(gfp_t gfp_mask, struct sk_buff * skb);
11
13 gfp_mask
14 alloc_pages_node mask. Set __GFP_NOMEMALLOC if not for network
15 packet RX
16
17 skb
18 skb to set pfmemalloc on if __GFP_MEMALLOC is used
19
21 Allocate a new page.
22
23 NULL is returned if there is no free memory.
24
26Kernel Hackers Manual 3.10 June 2019 __SKB_ALLOC_PAGE(9)