lockdep_cleanup_dead_cpu(9)
π lockdep_cleanup_dead_cpu(9) π
okay bestie, welcome to the Kernel API Manual page for lockdep_cleanup_dead_cpu(9) β yes, that whole mouthful. stay with me, it's actually a cutie π
β¨ NAME β¨
lockdep_cleanup_dead_cpu β Ensure CPU lockdep state is cleanly stopped
πΈ SYNOPSIS πΈ
void lockdep_cleanup_dead_cpu (unsigned int cpu , struct task_struct
*idle );
it returns void, so no return-value drama here β just vibes and cleanup π«Ά
π ARGUMENTS π
cpuβ index of offlined CPUidleβ task pointer for offlined CPU's idle thread
π¦ DESCRIPTION π¦
so this function gets invoked after the CPU is dead β like, actually dead, not ghosting dead π
it ensures that the tracing infrastructure is left in a suitable state for the CPU to be subsequently brought online again. think of it as tucking the tracing setup in properly so the CPU can have its little comeback moment later, no cap β¨
π SEE ALSO π
- Kernel file
./kernel/locking/lockdep.cβ plus these besties:struct pending_free(9),struct delayed_free(9),struct lock_trace(9), andlockdep_hardirqs_on_prepare(9)π§
made with π in the ./kernel/locking corner of the Kernel API Manual, dated October 2026 β bye bestie, stay clean π«Ά
π¦ 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