1__SK_MEM_SCHEDULE(9) Linux Networking __SK_MEM_SCHEDULE(9)
2
3
4
6 __sk_mem_schedule - increase sk_forward_alloc and memory_allocated
7
9 int __sk_mem_schedule(struct sock * sk, int size, int kind);
10
12 sk
13 socket
14
15 size
16 memory size to allocate
17
18 kind
19 allocation type
20
22 If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means
23 rmem allocation. This function assumes that protocols which have
24 memory_pressure use sk_wmem_queued as write buffer accounting.
25
27Kernel Hackers Manual 3.10 June 2019 __SK_MEM_SCHEDULE(9)