zs_huge_class_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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