⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

frame_color

Function frame_color 

Source
pub fn frame_color(phys_addr: u64) -> u16
Expand description

Determine which cache color a physical frame belongs to.

The color is derived from the physical address bits that index into the last-level cache. Frames with the same color compete for the same cache sets.