oom_cpuset_eligible(9)
okay bestie, welcome to oom_cpuset_eligible(9) from the Kernel API Manual β the eligibility check thatβs lowkey iconic. π
β¨
πΈ NAME πΈ
oom_cpuset_eligibleβ check task eligibility for kill. thatβs the name, thatβs the job, periodt. π
β¨ SYNOPSIS β¨
bool oom_cpuset_eligible (struct task_struct *start , struct oom_control
*oc );
π ARGUMENTS π
startβ task struct of the task to consider π. like, the task youβre looking at, bestie.ocβ pointer tostruct oom_controlπ. literally a pointer to that struct, no cap.
π DESCRIPTION π
okay so task eligibility is determined by these specifics: whether or not a candidate task, tsk, shares the same mempolicy nodes as current if it is bound by such a policy, and whether or not it has the same set of allowed cpuset nodes. thatβs the rubric, bestie β no extra side quests. π
heads up π«Ά: this function is assuming oom-killer context and that 'current' has triggered the oom-killer. fr fr, thatβs the assumption.
π¦ SEE ALSO π¦
the whole squad, go read up π:
- Kernel file
./mm/oom_kill.cβ yes, that exact path. π oom_badness(9)β iconic. πdump_tasks(9)β also iconic. πmark_oom_victim(9)β yep. π₯exit_oom_victim(9)β yep. πΈoom_killer_enable(9)β yep. βoom_killer_disable(9)β yep. π¦out_of_memory(9)β yep. π
byeee bestie π«Άπ β this page is from the ./mm source/version, dated October 2026, and itβs oom_cpuset_eligible(9) signing 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