STRUCT DMEM_CGROUP_INIT(9)
π struct dmem_cgroup_init(9) π
hii bestie!! welcome to the Kernel API Manual β¨ this page is about struct dmem_cgroup_init β literally the initialization parameters for a dmem cgroup region. it's giving βsmall struct, important job,β and weβre obsessed π
πΈ NAME πΈ
struct dmem_cgroup_init β initialization parameters for a dmem cgroup region. periodt π«Ά
β¨ SYNOPSIS β¨
okay so hereβs the exact shape of it, no cap:
struct dmem_cgroup_init {
u64 size;
const struct dmem_cgroup_ops *ops;
void *reclaim_priv;
};
π Members π
sizeβ size of the region in bytes. yes, bytes bestie πopsβ optional operations for this region. may beNULL. optional! lowkey chill π«reclaim_privβ opaque pointer passed toops->reclaim. may beNULL. itβs giving βyou donβt need to know whatβs insideβ π
π¦ SEE ALSO π¦
- kernel file
./include/linux/cgroup_dmem.hβ go read it, iykyk π struct dmem_cgroup_ops(9)β the ops bestie β¨
mwah π signed off from ./include/linux, October 2026, all about struct dmem_cgroup_init(9) β bye bestie, slay responsibly π
π¦ 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