Does Linux implement page coloring?

linux, linux-kernel

Solution

No.

Linus said:

there have been at least four different major cache coloring trials for the kernel over the years. This discussion has been going on since the early nineties. And none of them have worked well in practice.

Reasons are that it adds too much cost to the page free/page alloc paths, and it's pointless because caches have become associative so that there is no need.

Problem

Does the current Linux kernels implements some form of page coloring when assigning virtual to physical address mapping? Arka

Original source