Name

sk_set_memalloc — sets SOCK_MEMALLOC

Synopsis

void sk_set_memalloc (struct sock * sk);
 

Arguments

struct sock * sk

socket to set it on

Description

Set SOCK_MEMALLOC on a socket for access to emergency reserves. It's the responsibility of the admin to adjust min_free_kbytes to meet the requirements