T.R | Title | User | Personal Name | Date | Lines |
---|
8706.1 | Check the SRM | WTFN::SCALES | Despair is appropriate and inevitable. | Tue Feb 04 1997 18:41 | 5 |
| I believe that Alpha System Reference Manual explains in detail how to implement
spinlocks on an Alpha.
Webb
|
8706.2 | | CSC32::BLAYLOCK | If at first you doubt,doubt again. | Tue Feb 04 1997 23:11 | 9 |
|
The current Digital Technical Journal also has an article on
SMP and access to databases with an example set of spinlock
routines that we have given to our partners.
Take a look at http://www.digital.com/DTJN05/DTJN05.HTM
and the section on lock optimizations. The DTJ archives also have
an SMP and Digital UNIX issue they may provide other examples.
|
8706.3 | Alpha Architecture Handbook? Architecture Reference Manual? | BBPBV1::WALLACE | john wallace @ bbp. +44 860 675093 | Wed Feb 05 1997 05:16 | 10 |
| Isn't the SRM a restricted distribution document?
Alternative sources: bookstores: Alpha Architecture Reference Manual,
by Sites and Witek, published by Butterworth Heinemann, ISBN
1-55558-145-5 (a.k.a. Digital Press EY-T132E-DP). The relevenat
spinlock bits also are in the Alpha Architecture Handbook which used to
be a free giveaway (sorry, don't have one here for part numbers etc).
regards
john
|
8706.4 | | WIBBIN::NOYCE | Pulling weeds, pickin' stones | Wed Feb 05 1997 10:13 | 4 |
| Alpha Architecture Handbook Version 3: EC-QD2KB-TE
For any of these sources (SRM, ARM, AAH) you want to
look at section 5.5.3 for the spinlock code.
|
8706.5 | Go with what you know... :-) | WTFN::SCALES | Despair is appropriate and inevitable. | Thu Feb 06 1997 18:50 | 12 |
| .3> Isn't the SRM a restricted distribution document?
I dunno...but when I looked in the ARM, I couldn't find the code extract on my
first four tries, so I cited a source where I knew it was... :-}
.4> For any of these sources (SRM, ARM, AAH) you want to
.4> look at section 5.5.3 for the spinlock code.
...and now I know where to find it! (Thanks, Bill :-)
Webb
|
8706.6 | thanks for the pointers | SWAM1::MARSHALL | | Fri Feb 14 1997 16:45 | 10 |
| It turns out that the method described in the ALPHA ARCHITECHURE and
ALPHA REFERENCE MANUAL (and the article in DTJ) are similar to how
Pyrimid used to do locking before they wrote the user callable function
to do spinlocks.
We are still in the fray on winning this business, but not because of
spinlocks at this point. I'm looking for closure late next week.
Thanks,
|
8706.7 | c_asm.h / builtins.h | SAPEC3::WALLMEROTH | | Mon Feb 17 1997 03:58 | 4 |
| you may also look into:
/usr/include/c_asm.h
and if working with V4.0x:
/usr/include/machine/builtins.h
|