pat_bp_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


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