Page Coloring: Mapping Virtual to Physical Cache Sets

Page coloring, also known as cache coloring, is a software technique where the operating system allocates physical memory pages with specific 'colors' to virtual pages. This ensures that contiguous virtual memory pages map to different cache sets, preventing them from contending for the same cache lines and improving cache utilization in physically-indexed caches.

Sources

Open the full topic