oom_cpuset_eligible(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 to struct 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 πŸ‘‘:


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