[Devel] [PATCH hci-8.1 1/2] ms/kbuild: use $(CFLAGS_GCOV) in the prefer-atomic try-run test

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Oct 19 21:29:57 MSK 2026


> Patch series "kbuild: GCOV cleanups following the prefer-atomic fix".
> 
> Two cleanups Peter Oberparleiter suggested while reviewing commit
> 56cb9b7d96b2 ("gcov: use atomic counter updates to fix concurrent access
> crashes"):
> 
> https://lore.kernel.org/e1b6e768-51af-468b-a729-0ed3fceef2f1@linux.ibm.com
> 
> Patch 1 makes the prefer-atomic try-run test reuse $(CFLAGS_GCOV) instead
> of spelling the flags out again, so the test compiles with the exact GCOV
> flags, -fno-tree-loop-im included.
> 
> Patch 2 moves the CFLAGS_GCOV block into scripts/Makefile.gcov, included
> via include-$(CONFIG_GCOV_KERNEL) like the other instrumentation
> makefiles.  The try-run also stops running on builds without GCOV.
> [ ... ]
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-148131
> Feature: fix ms/gcov
> Assisted-by: LLM
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261019-b4-prep-khorenko-vstor-148131-gcov-followups-v1-0-2932ec685608@virtuozzo.com?part=1




More information about the Devel mailing list