lockdep_set_notrack_class(9)
β¨ lockdep_set_notrack_class(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function page and honestly it's giving "nuclear option" energy, so let's get into it π«Ά
π NAME π
lockdep_set_notrack_class β disable lockdep tracking of a given lock, like, entirely entirely. not "partially". not "gently". entirely π
π¦ SYNOPSIS π¦
lockdep_set_notrack_class (lock );
π ARGUMENTS π
lockβ the lock you wanna mark π that's it, that's the whole list, she's simple
πΈ DESCRIPTION πΈ
okay so real talk: this is a bigger hammer than lockdep_set_novalidate_class π¨ and by "bigger hammer" we mean it goes harder, not that it does more stuff β do not come for me, that's literally what the page says.
and who is it for? so far, literally just bcachefs π because bcachefs takes more locks than lockdep is able to track β and the number is 48. yeah. 48. lockdep said "ma'am I can't hold all these" π
so when the tracker just can't keep up, this is the vibe: turn the tracking off for that lock completely. no cap, that's the whole point π§
π₯ SEE ALSO π₯
- Kernel file
./include/linux/lockdep.h struct lock_chain(9)lockdep_set_novalidate_class(9)
lowkey a reminder that if you're reaching for this one, you already tried the gentler option first, bestie β this is the "bigger hammer" for a reason π
and that's the page!! π sign-off time: this lil beauty lives in ./include/linux, it's dated October 2026, and it's filed under lockdep_set_notrack_class(9) β go forth and track responsibly, ily πβπ
π¦ 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