sk_set_memalloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual page for sk_set_memalloc(9) β€” it's short, it's sweet, and it's lowkey important. Let's go πŸ’…βœ¨

πŸ’– NAME πŸ’–

sk_set_memalloc β€” sets %SOCK_MEMALLOC

🌸 SYNOPSIS 🌸

void sk_set_memalloc (struct sock *sk );

πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” the 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 β€” yes, admin bestie, that's on you πŸ‘‘.

🌈 SEE ALSO 🌈

Kernel file to peek at: ./net/core/sock.c πŸ‘€


that's the whole page, bestie πŸ’– it comes from the source/version tag ./net/core, dated October 2026 β€” slay, stay iconic, and keep those emergency reserves in check πŸŽ€

πŸ“¦ where this page comes from