sched_clear_itmt_support(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sched_clear_itmt_support(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's giving kernel-internal cleanup era, and this is the function you call when the platform's ITMT situation is just... over. ✨ No cap.


🌸 NAME 🌸

sched_clear_itmt_support β€” the little function that revokes the platform's support of ITMT. yep, that's the whole vibe. it takes it away. poof. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void sched_clear_itmt_support (void );

literally that's it. that's the signature. gorgeous, minimal, main character energy. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. none. zero. nothing to pass in, nothing to worry about, we love a low-maintenance function fr fr 🫢

✨ DESCRIPTION ✨

So this function is what the OS uses to indicate that it has revoked the platform's support of ITMT β€” like, the feature is being taken back, flags down, era over, and this call is the official announcement. πŸ™ˆ

But here's the part where you must pay attention, bestie, because it's a real one:

It must not be called with the cpu hot plug lock held, because we need to acquire the lock to rebuild sched domains later. πŸ”₯

So like... do not be holding that lock when you call this. We need to grab it ourselves later to rebuild the sched domains, and if you're already holding it that's a whole situation. not the cute kind of situation. πŸ’€


🌈 SEE ALSO 🌈

  • kernel file ./arch/x86/kernel/itmt.c β€” the source of truth, go read it iykyk πŸ“
  • sched_set_itmt_support(9) β€” the counterpart that sets the support instead of clearing it
  • sched_set_itmt_core_prio(9) β€” the other ITMT friend in the family 🧚

and that's the page!! ⭐ this icon was brought to you from ./arch/x86/kernel, dated October 2026, filed under sched_clear_itmt_support(9) β€” slay, go revoke some platform support responsibly, ily, bye πŸ’–πŸŒΈ

πŸ“¦ where this page comes from