discussion forum



message

Name: james
Date: June 10, 2003 at 04:01:12
Subject: Re: Hyperthreading and 'lock' prefix
In Reply To: Hyperthreading and 'lock' prefix by
Stephan Keil on June 10, 2003 at 02:30:56
Text: | the x86 instruction set supports the 'lock' prefix for various
| instructions (e.g. inc, add) to guarantee atomicity in multiprocessor
| environments, i.e. multiple _physical_ processors. But is this
| prefix also necessary for hyperthreading processors, i.e. two
| logical processors within one physical processor?

Yes.

I mean, how else is virtual processor #2 gonna know
that it shouldn't write to a location that virtual
processor #1 is currently operating on with a read-
modify-write operation?




post a followup message
(Be nice... or be blocked. Be technical... or be erased.)

Name: optional link title:
eMail: optional link URL:
Subject: optional image URL:
  Insert line breaks by hand when only about one inch remains at the right side. Otherwise your message will be unreadable.
Text:
 

  Note: The above eMail form fields may look unaligned if you are using a browser other than Netscape Navigator version 3.0.



currently posted followup messages
(You may have to press the RELOAD button of your browser.)




main page