table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
__SK_MEM_SCHEDULE(9) | Linux Networking | __SK_MEM_SCHEDULE(9) |
NAME¶
__sk_mem_schedule - increase sk_forward_alloc and memory_allocatedSYNOPSIS¶
int
__sk_mem_schedule(struct sock * sk,
int size, int kind);
ARGUMENTS¶
sksocket
size
memory size to allocate
kind
allocation type
DESCRIPTION¶
If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |