Messages in this thread |  | | Date | Sun, 31 Dec 2000 20:49:53 +0100 | From | Andi Kleen <> | Subject | Re: test13-pre5 |
| |
On Sun, Dec 31, 2000 at 11:15:51AM -0800, Linus Torvalds wrote: > In article <20001231200741.F28963@mea-ext.zmailer.org>, > Matti Aarnio <matti.aarnio@zmailer.org> wrote: > > > > Actually nothing SMP specific in that problem sphere. > > Alpha has load-locked/store-conditional pair for > > this type of memory accesses to automatically detect, > > and (conditionally) restart the operation - to form > > classical ``locked-read-modify-write'' operations. > > Sure, we could make the older alphas use ldl_l stl_c for byte accesses, > but if you thought byte accesses on those machines were kind-of slow > before, just WAIT until that happens.
The older Alphas would just typedef x8/x16 (or granular_u8, granular_u16 or whatever it is called) to u32 and be the same as today. Just most other boxes would benefit.
This actually all assumes that gcc really uses the byte instructions for byte stores in structures, which is to be determined.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |