Re: Cache aliasing

From: David S. Miller (davem@redhat.com)
Date: Tue Feb 25 2003 - 22:59:02 EST


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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:34 EST