]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Memory barriers
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:34 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:34 +0000 (11:23 -0700)
Unrelated to open-vm-tools.

Previously added new barriers for arm64 and x86_common, but
forgot to handle arm32. This change does that, and fixes a
mangled comment.

open-vm-tools/lib/include/vm_basic_asm_x86_common.h

index 9b97fba75f73e9c0f3148a3941eb54a35010c142..cc278d8ff6b38e268fb33bde7d741c229c60c631 100644 (file)
@@ -349,10 +349,11 @@ RDTSC_BARRIER(void)
  * 2) Not fine-grained enough to provide the best performance.
  * For the above two reasons, usage of COMPILER_*_BARRIER is now deprecated.
  * _Do not add new references to COMPILER_*_BARRIER._ Instead, precisely
- * document the intent of your code by using the
- * <mem_type/purpose>_<before_access_type>_BARRIER_<after_access_type>
- * references to COMPILER_*_BARRIER are being slowly but surely converted,
- * and when no references are left, COMPILER_*_BARRIER will be retired.
+ * document the intent of your code by using
+ * <mem_type/purpose>_<before_access_type>_BARRIER_<after_access_type>.
+ * Existing references to COMPILER_*_BARRIER are being slowly but surely
+ * converted, and when no references are left, COMPILER_*_BARRIER will be
+ * retired.
  *
  * Thanks for pasting this whole comment into every architecture header.
  */