pat_bp_init(9)
π pat_bp_init(9) β Kernel API Manual β¨
okay so bestie, we're looking at pat_bp_init(9) today, from the Kernel API Manual, and honestly? she's a baddie with a very specific job. let's get into it π
πΈ NAME πΈ
pat_bp_init β literally just here to initialize the PAT MSR value and the PAT table. that's the whole vibe. no cap. π
β¨ SYNOPSIS β¨
void pat_bp_init (void );
π¦ ARGUMENTS π¦
voidβ no arguments, bestie. zero. nada. she takes nothing and she gives everything π«Ά
π₯ DESCRIPTION π₯
okay so here's the tea β β this function initializes the PAT MSR value and the PAT table with an OS-defined value, and the whole point of that is to enable additional cache attributes: WC, WT and WP. slay π
and not only that, she also prepares the calls of pat_cpu_init via cache_cpu_init on all CPUs. like, every single one. main character energy fr fr π
π SEE ALSO π
- Kernel file
./arch/x86/mm/pat/memtype.clookup_memtype(9) pat_pfn_immune_to_uc_mtrr(9)memtype_reserve_io(9)memtype_free_io(9)
and that's the whole page, bestie π this cutie lives in ./arch/x86/mm/pat, dated October 2026, and she answers to the name pat_bp_init(9) β ily, go read the source, mwah π§πβ¨
π¦ 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