zs_huge_class_size(9)
π NAME π
zs_huge_class_size β returns the size (in bytes) of the first huge zsmalloc size_class. This is the Kernel API Manual page, bestie π
π¦ SYNOPSIS π¦
size_t zs_huge_class_size (struct zs_pool *pool );
π ARGUMENTS π
poolβ the zsmalloc pool to use π«Ά
β¨ DESCRIPTION β¨
Okay so here's the vibe: this function returns the size of the first huge class β and any object of equal or bigger size will be stored in a zspage consisting of a single physical page. That's the whole flex, no cap π
πΈ CONTEXT πΈ
Any context. Literally any context, bestie. Periodt β¨
π RETURN π
The size (in bytes) of the first huge zsmalloc size_class. Slay π
π SEE ALSO π
Kernel file ./mm/zsmalloc.c, plus these iconic besties:
Source/version: ./mm, dated October 2026 β mwah, that's the cutie sign-off ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms