drop_pc6_redundant_cstates(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drop_pc6_redundant_cstates ✨

okay so bestie, welcome to the drop_pc6_redundant_cstates(9) page πŸ’… this is a kernel API manual situation, and honestly? it's giving "tiny function, big vibes." let's get into it 🫢


🌸 NAME 🌸

drop_pc6_redundant_cstates β€” drops the C-states that become redundant when PC6 is disabled.

like, it's literally a cleanup crew for your idle states 🧹✨


πŸŽ€ SYNOPSIS πŸŽ€

void drop_pc6_redundant_cstates (struct cpuidle_state *states );

returns nothing, obviously. it's void. it just does the thing and leaves 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • states β€” the idle states table you're about to modify. that's the whole assignment. hand it over and let the function cook πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea β˜• when PC6 is disabled in the BIOS, some C-states that only ever existed to make PC6 entry happen β€” things like C6P or C6SP β€” end up being literally identical to shallower C-states like C6. Which means they're redundant. dead weight. not pulling their weight. πŸ’€

so this function drops them. slay. πŸ‘‘

heads up bestie: this should be called only on systems with multiple C6 flavors. like, don't just call it wherever. know your system's vibe first πŸ™ˆ

🌈 SEE ALSO 🌈

peep these, iykyk 🧚:


and that's the whole page, bestie πŸ“ before you go β€” this one lives in ./drivers/idle, it's from October 2026, and it's part of the Kernel API Manual. consider yourself fully briefed πŸ’–βœ¨πŸ‘‘

πŸ“¦ where this page comes from