Re: Cache aliasing

David S. Miller (davem@redhat.com)
25 Feb 2003 19:59:02 -0800


On Mon, 2003-02-24 at 23:24, John Newlin wrote:
> Would it make more sense to just always ensure that your
> virtual and physical pages had matching "color" bits?

No, it's actually very difficult to solve the problem this
way.

The reason being that there is always a fixed "kernel virtual
color" every physical page has. So essentially, if you colored
userspace, you could only put into user virtual address with
color X only pages that also have kernel virtual color X.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/