Re: [patch] SMP alternatives

From: H. Peter Anvin
Date: Mon Nov 28 2005 - 18:08:16 EST


Zachary Amsden wrote:

You need a way to type the lock semantics by memory region, and a working hardware solution can not perform as well as a careful software solution. As was pointed out earlier, you can't use memory type attributes to infer lock semantics, you must assume them in the decoder or implement complex deadlock detection and recovery in silicon.


Sure you can. You just have to be prepared to take a microop exception if you speculate incorrectly.

-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/