Name

sk_page_frag — return an appropriate page_frag

Synopsis

struct page_frag * sk_page_frag (struct sock * sk);
 

Arguments

sk

socket

Description

If socket allocation mode allows current thread to sleep, it means its safe to use the per task page_frag instead of the per socket one.