[Devel] [PATCH RHEL10 COMMIT] Revert "gcov: use atomic counter updates to fix concurrent access crashes"

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 15 15:54:12 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-211.16.1.12.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-211.16.1.12.1.vz10
------>
commit f4216882065b42b587b4379336f31dd472ce0b22
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Mon Jun 15 14:13:59 2026 +0200

    Revert "gcov: use atomic counter updates to fix concurrent access crashes"
    
    This reverts commit 29e6339b2789400424215d86c845b1e3e9198994.
    
    We will take the final version of the patch which got into mm tree.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-127788
    https://virtuozzo.atlassian.net/browse/VSTOR-128012
    Feature: fix ms/gcov
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9aaf79b76b06..89fdcffbe6cf 100644
--- a/Makefile
+++ b/Makefile
@@ -772,7 +772,7 @@ all: vmlinux
 
 CFLAGS_GCOV	:= -fprofile-arcs -ftest-coverage
 ifdef CONFIG_CC_IS_GCC
-CFLAGS_GCOV	+= -fno-tree-loop-im -fprofile-update=prefer-atomic
+CFLAGS_GCOV	+= -fno-tree-loop-im
 endif
 export CFLAGS_GCOV
 


More information about the Devel mailing list