discussion forum
message
| Name: |
Stephan Keil |
| eMail: |
Stephan.Keil@gmx.de |
| Date: |
June 16, 2003 at 06:07:58 |
| Subject: |
Re: Hyperthreading and 'lock' prefix |
| In Reply To: |
Re: Hyperthreading and 'lock' prefix by Peter M. on June 11, 2003 at 05:07:55 |
| Text: |
| Now since the LOCK# mechanism also keeps other bus mastering agents away from the resource you're trying to access, the general rule is to use it whenever you need to do an atomic access - no matter how many CPUs there are. In general you are right. But with my special problem I incrementing/decrementing some reference counts, which is done by processors only. Unfortunately these reference counts are accessed frequently and I cannot afford the performance penalty. |
post a followup message
(Be nice... or be blocked. Be technical... or be erased.)
currently posted followup messages
(You may have to press the RELOAD button of your browser.)
|