cpuhp_state_...ance_nocalls(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 if SMP=n or HOTPLUG_CPU=n. so like, nothing happens. iconic of it honestly πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, in the kernel file ./include/linux/cpuhotplug.h:


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