[Devel] [PATCH hci-8.1 0/2] ms/kbuild: GCOV follow-ups to the prefer-atomic fix
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Oct 19 21:26:49 MSK 2026
Two follow-ups to commit 6e1a837a05d4 ("ms/gcov: use atomic counter
updates to fix concurrent access crashes"). Peter Oberparleiter suggested
them while reviewing the upstream patch.
Both are taken from the akpm/mm tree, branch mm-nonmm-stable, and are not
in Linus's tree yet:
4719c9264131 kbuild: use $(CFLAGS_GCOV) in the prefer-atomic try-run test
f541906e89f9 kbuild: move GCOV flags to scripts/Makefile.gcov
- Patch 1 makes the try-run test compile with $(CFLAGS_GCOV) instead of a
copy of its flags, so the test also sees -fno-tree-loop-im. The outcome
of the test is unchanged.
- Patch 2 moves the CFLAGS_GCOV block into scripts/Makefile.gcov,
included via include-$(CONFIG_GCOV_KERNEL) like the KCOV and KASAN
makefiles. Builds without GCOV no longer run the try-run.
Patch 2 had a context conflict in Makefile: the CFLAGS_GCOV block has
different neighbours in this tree. The resolution is noted in the commit.
Upstream series:
https://lore.kernel.org/lkml/20261001-b4-prep-gcov-v1-0-794792e06f24@virtuozzo.com/
https://virtuozzo.atlassian.net/browse/VSTOR-148131
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
Konstantin Khorenko (2):
ms/kbuild: use $(CFLAGS_GCOV) in the prefer-atomic try-run test
ms/kbuild: move GCOV flags to scripts/Makefile.gcov
MAINTAINERS | 1 +
Makefile | 22 +---------------------
scripts/Makefile.gcov | 21 +++++++++++++++++++++
3 files changed, 23 insertions(+), 21 deletions(-)
---
base-commit: 8026fb5599f945a36a6911f8febad3ab569176da
change-id: 20261019-b4-prep-khorenko-vstor-148131-gcov-followups-697f640b297e
Best regards,
--
Konstantin Khorenko <khorenko at virtuozzo.com>
More information about the Devel
mailing list