cpuhp_setup_state_nocalls(9)
π NAME π
okay so cpuhp_setup_state_nocalls β from the Kernel API Manual, bestie β is literally βSetup hotplug state callbacks without calling the @startup callbackβ. Thatβs the whole assignment. β¨
πΈ SYNOPSIS πΈ
int cpuhp_setup_state_nocalls (enum cpuhp_state state , const char *name , int (*startup)(unsigned int cpu) , int (*teardown)(unsigned int cpu) );
π ARGUMENTS π
stateβ the state for which the calls are installed. thatβs the vibe check for where this callback setup lives π«nameβ name of the callback. yes, it needs a name, bestie π·οΈstartupβ startup callback function orNULLif not required. so if you donβt need it, passNULLand keep it moving π«Άteardownβ teardown callback function orNULLif not required. same deal:NULLis totally valid if youβre not using it π
π¦ DESCRIPTION π¦
Same as cpuhp_setup_state except that the startup callback is not invoked during installation. so itβs giving βsetup state callbacks, but make it no-startup-callβ energy π
NOP if SMP=n or HOTPLUG_CPU=n. no cap, thatβs the condition, periodt. π
π SEE ALSO π
start with the kernel file ./include/linux/cpuhotplug.h, then go off bestie:
cpuhp_setup_state(9)cpuhp_setup_state_cpuslocked(9)cpuhp_setup_state_nocalls_cpuslocked(9)cpuhp_setup_state_multi(9)cpuhp_state_add_instance(9)cpuhp_state_add_instance_nocalls(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)
mwah π this page came from ./include/linux, dated October 2026, and itβs serving Kernel API Manual realness β bye bestie, go slay your hotplug setup π«Άβ¨
π¦ 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