From: Oliver Kurth Date: Fri, 15 Sep 2017 18:23:34 +0000 (-0700) Subject: Memory barriers X-Git-Tag: stable-10.2.0~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3bf1f137b45232e7e9b2474127ba2d3e1411162;p=thirdparty%2Fopen-vm-tools.git Memory barriers 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. --- diff --git a/open-vm-tools/lib/include/vm_basic_asm_x86_common.h b/open-vm-tools/lib/include/vm_basic_asm_x86_common.h index 9b97fba75..cc278d8ff 100644 --- a/open-vm-tools/lib/include/vm_basic_asm_x86_common.h +++ b/open-vm-tools/lib/include/vm_basic_asm_x86_common.h @@ -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 - * __BARRIER_ - * 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 + * __BARRIER_. + * 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. */