store_cpu_caps(9)
π store_cpu_caps(9) β the Kernel API Manual moment π
okay so bestie, welcome to store_cpu_caps(9), like the actual man page, section 9, kernel API manual vibes only β¨ this one's short and sweet and honestly kind of iconic for how much it does with so little π«Ά
πΈ NAME πΈ
store_cpu_caps β stores a snapshot of CPU capabilities πΎβ¨ like, it takes a lil picture of what your CPU can do and keeps it safe, no cap
β SYNOPSIS β
void store_cpu_caps (struct cpuinfo_x86 *curr_info );
that's it. that's the whole signature. returns nothing, takes one pointer, slays π
π¦ ARGUMENTS π¦
curr_infoβ a pointer to where the snapshot gets stored π that's the spot, bestie, that's where it goes
π RETURN π
None π like literally nothing comes back, it's a void function, it just does the thing and dips π periodt
π₯ SEE ALSO π₯
- the kernel file
./arch/x86/kernel/cpu/common.cβ go read it if you're nosy (respectfully) π switch_gdt_and_percpu_base(9)microcode_check(9)
both of those are whole other man pages and honestly? worth a look π iykyk
lowkey reminder: this page lives in the Kernel API Manual, so if you're out here calling store_cpu_caps from userspaceβ¦ bestie no π that's not the vibe
and that's a wrap, bestie π this lil page came from the kernel source at ./arch/x86/kernel/cpu, dated October 2026 β mwah, go touch some grass, then come back and read more man pages, 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