__sk_mem_schedule(9)

__sk_mem_schedule9

Increase sk_forward_alloc and memory_allocated

Usage

int __sk_mem_schedule(struct sock * sk, int size, int kind);

Arguments

sk

socket

size

memory size to allocate

kind

allocation type

Overview

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.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.