ENUM QCOM_TZMEM_POLICY(9)
π enum qcom_tzmem_policy(9)
okay so bestie, welcome to the Kernel API Manual β¨ this is the page for enum qcom_tzmem_policy and honestly? it's giving "small but mighty" π
πΈ NAME
enum qcom_tzmem_policy β literally the policy for pool growth π (yes, that's its whole job, and it ate)
β¨ SYNOPSIS
here's the whole enum, bestie, typed out exactly so you can't mess it up π
enum qcom_tzmem_policy {
QCOM_TZMEM_POLICY_STATIC ,
QCOM_TZMEM_POLICY_MULTIPLIER ,
QCOM_TZMEM_POLICY_ON_DEMAND
};
π¦ Constants
three constants, three vibes, let's go π
QCOM_TZMEM_POLICY_STATICβ static pool, no cap. it never grows above its initial size π§ like it's happy where it is.QCOM_TZMEM_POLICY_MULTIPLIERβ when it's out of memory, it addsincrement * current size of memory. so it scales up by multiplying, main character energy π₯QCOM_TZMEM_POLICY_ON_DEMANDβ when it's out of memory it adds as much as is needed, untilmax_size. literally only takes what it needs, humble queen π
π SEE ALSO
- Kernel file
./include/linux/firmware/qcom/qcom_tzmem.h - struct
qcom_tzmem_pool_config(9)π«Ά
fr fr go read qcom_tzmem_pool_config(9) next, it's the sister page and they're obsessed with each other π
and that's the whole thing! π this lil masterpiece comes from ./include/linux/firmware/qcom, dated October 2026, and it's filed under enum qcom_tzmem_policy(9) β periodt β π
π¦ 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