topology_hotunplug_apic(9)
π topology_hotunplug_apic(9) β from the Kernel API Manual, bestie
okay so picture this: we're in topology_hotunplug_apic(9) and the vibe is unregistering. This is the Kernel API Manual page, and it's lowkey a short one but it ate. β¨
πΈ NAME πΈ
topology_hotunplug_apic β remove a physical hotplugged APIC after boot π«Ά
like, after boot. not during. the boot already happened. we're doing cleanup now, bestie.
π¦ SYNOPSIS π¦
void topology_hotunplug_apic (unsigned int cpu );
that's it. one function, one argument, returns void (so it gives you nothing back, emotionally or otherwise π). the way it just takes a cpu and dips.
π ARGUMENTS π
cpuβ the CPU number for which the APIC ID is removed. yep, that's the whole thing. you hand it a CPU number, and the APIC ID for that CPU gets removed. no cap. π
β SEE ALSO β
heads up, all of these live in the kernel file ./arch/x86/kernel/cpu/topology.c β go read the source, it's giving main character energy:
topology_register_apic(9)topology_register_boot_apic(9)topology_get_logical_id(9)topology_unit_count(9)topology_hotplug_apic(9)topology_apply_cmdline_limits_early(9)
the whole topology friend group fr fr π
π friendly reminder: this is the hotunplug one. topology_hotplug_apic(9) is the plug-in side. don't mix them up, i'm begging π
and that's the page!! mwah π this cutie lives under ./arch/x86/kernel/cpu, and the manual's dated October 2026 β so yeah, future vibes only. periodt. πβ¨
π¦ 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