cpuhp_state_...ance_nocalls(9)
π cpuhp_state_add_instance_nocalls β like, the whole vibe
okay bestie so this is a page from the Kernel API Manual, and no cap it's one of those tiny ones that still matters, so let's get into it π«Ά
β¨ NAME β¨
cpuhp_state_add_instance_nocalls β adds an instance for a state, and it does it without invoking the startup callback. literally that's the whole personality π
π SYNOPSIS π
int cpuhp_state_add_instance_nocalls (enum cpuhp_state state , struct hlist_node *node );
π¦ ARGUMENTS π¦
stateβ the state that this instance is getting installed for. it's giving "which shelf are we putting this on" energy ποΈnodeβ the node for this individual state, like the one specific item living on that shelf.
πΈ DESCRIPTION πΈ
so it installs the instance for the state. easy. but heads up: the state has to have been marked as multi-instance earlier, by cpuhp_setup_state_multi. no shortcuts on that one, bestie, it's a prerequisite fr fr.
also: this whole thing is a NOP ifSMP=norHOTPLUG_CPU=n. so like, nothing happens. iconic of it honestly π
π₯ SEE ALSO π₯
the whole friend group, in the kernel file ./include/linux/cpuhotplug.h:
cpuhp_setup_state(9)cpuhp_setup_state_cpuslocked(9)cpuhp_setup_state_nocalls(9)cpuhp_setup_state_nocalls_cpuslocked(9)cpuhp_setup_state_multi(9)cpuhp_state_add_instance(9)cpuhp_state_add_instance_nocalls_cpuslocked(9)cpuhp_remove_state(9)cpuhp_remove_state_nocalls(9)cpuhp_remove_state_nocalls_cpuslocked(9)cpuhp_remove_multi_state(9)cpuhp_state_remove_instance(9)cpuhp_state_remove_instance_nocalls(9)
okay that's the page!! π tiny but mighty. this one lives over in ./include/linux and it's dated October 2026 β mwah π go forth and add ur instances, bestie, and remember: no calls, no drama β¨π«Ά
π¦ 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