blk_cgroup_congested(9)
π NAME π
okay bestie, welcome to blk_cgroup_congested(9) from the Kernel API Manual β the whole vibe here is answering: is the current task in a throttled blkcg? ππ
β¨ SYNOPSIS β¨
bool blk_cgroup_congested (void );
π«Ά ARGUMENTS π«Ά
voidβ no arguments, bestie. zero. nada. the function takes nothing π
π DESCRIPTION π
so this one gets called from mm hot paths, where the answer is almost always false π. because of that, the move is to keep that case down to a load and a branch β super cheap, no drama β and only walk the hierarchy out of line when something in the system really is throttled. it's giving optimized-for-the-common-case, fr fr β¨
π¦ RETURN π¦
trueβ if the current task's blkcg or any of its ancestors is throttled πfalseβ otherwise π
π SEE ALSO π
- Kernel file
./include/linux/blk-cgroup.hβ go read it, iykyk ππ
okay that's the whole page, bestie π«Ά this cutie comes from ./include/linux, dated October 2026 β mwah πβ¨
π¦ 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