sk_page_frag9
Return an appropriate page_frag
Usage
struct page_frag
*
sk_page_frag(struct
sock
*
sk);
Arguments
sk
socket
Overview
Use the per task page_frag instead of the per socket one for optimization when we know that we're in the normal context and owns everything that's associated with current.
gfpflags_allow_blocking isn't enough here as direct reclaim may nest inside other socket operations and end up recursing into sk_page_frag while it's already in use.
History
- Debian 9 (Stretch): the text shown here
- Debian 8 (Jessie)