[Devel] [PATCH vz10 1/2] Revert "gcov: use atomic counter updates to fix concurrent access crashes"

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jun 15 15:53:24 MSK 2026


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
 
-- 
2.47.1



More information about the Devel mailing list