Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1307877 > unrolled thread

[PATCH v2 3/3] x86: tweak the comment about use of wmb for IO

Started by"Michael S. Tsirkin" <mst@redhat.com>
First post2016-01-12 23:20 +0100
Last post2016-01-12 23:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 3/3] x86: tweak the comment about use of wmb for IO "Michael S. Tsirkin" <mst@redhat.com> - 2016-01-12 23:20 +0100

#1307877 — [PATCH v2 3/3] x86: tweak the comment about use of wmb for IO

From"Michael S. Tsirkin" <mst@redhat.com>
Date2016-01-12 23:20 +0100
Subject[PATCH v2 3/3] x86: tweak the comment about use of wmb for IO
Message-ID<qQfse-7eN-25@gated-at.bofh.it>
On x86, we *do* still use the non-nop rmb/wmb for IO barriers, but even
that is generally questionable.

Leave them around as historial unless somebody can point to a case where
they care about the performance, but tweak the comment so people
don't think they are strictly required in all cases.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 arch/x86/include/asm/barrier.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/barrier.h b/arch/x86/include/asm/barrier.h
index eb220b8..924cd44 100644
--- a/arch/x86/include/asm/barrier.h
+++ b/arch/x86/include/asm/barrier.h
@@ -6,7 +6,7 @@
 
 /*
  * Force strict CPU ordering.
- * And yes, this is required on UP too when we're talking
+ * And yes, this might be required on UP too when we're talking
  * to devices.
  */
 
-- 
MST

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web