Re: getting processor numbers

From: H. Peter Anvin
Date: Wed Apr 04 2007 - 01:42:07 EST


Jeremy Fitzhardinge wrote:
H. Peter Anvin wrote:
Mutable data should be separated from code. I think any current CPU
will do fine as long as they are in separate 128-byte chunks, but they
need at least that much separation.
P4 manual says that if one processor modifies data within 2k of another
processor executing code, it will trash the entire trace cache.

Yuck. Didn't realize the P4 was that sensitive. OK, so at the least we need a half-page of separation.

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