Scroll to navigation

SK_PAGE_FRAG(9) Linux Networking SK_PAGE_FRAG(9)

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.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10