Messages in this thread | | | Date | Sat, 8 Nov 2008 20:40:55 +0100 | From | Ingo Molnar <> | Subject | Re: [git pull] scheduler updates |
| |
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Sat, 8 Nov 2008, Ingo Molnar wrote: > > > > So that's why my change moves it from the __native_read_tsc() over > > to _only_ the vget_cycles(). > > Ahh. I was looking at native_read_tscp(). Which has no barriers. But > then we don't actually save the actual TSC, we only end up using the > "p" part, so we don't care..
sidenote #3: RDTSCP is a relatively new instruction, and has implicit barrier properties: it is a serializing instruction.
Ingo
| |