lockdep_set_notrack_class(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ”₯


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