Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88692
b: refs/heads/master
c: 0d7a181
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Machek authored and Ingo Molnar committed Apr 17, 2008
1 parent 7028b90 commit 9016fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c2047cd32b1a8c782d7efab72707e7daa251625
refs/heads/master: 0d7a1819e97ef89be5bcbb4b724acb9f6c873c97
11 changes: 1 addition & 10 deletions trunk/include/asm-x86/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,16 +296,7 @@ void default_idle(void);
*/
#ifdef CONFIG_X86_32
/*
* For now, "wmb()" doesn't actually do anything, as all
* Intel CPU's follow what Intel calls a *Processor Order*,
* in which all writes are seen in the program order even
* outside the CPU.
*
* I expect future Intel CPU's to have a weaker ordering,
* but I'd also expect them to finally get their act together
* and add some real memory barriers if so.
*
* Some non intel clones support out of order store. wmb() ceases to be a
* Some non-Intel clones support out of order store. wmb() ceases to be a
* nop for these.
*/
#define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2)
Expand Down

0 comments on commit 9016fa7

Please sign in to comment.