All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
* [Devel] [PATCH hci-8.1 0/2] ms/kbuild: GCOV follow-ups to the prefer-atomic fix
@ 2026-10-19 18:26 Konstantin Khorenko
  2026-10-19 18:26 ` [Devel] [PATCH hci-8.1 1/2] ms/kbuild: use $(CFLAGS_GCOV) in the prefer-atomic try-run test Konstantin Khorenko
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Konstantin Khorenko @ 2026-10-19 18:26 UTC (permalink / raw)
  To: devel, Konstantin Khorenko

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@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@virtuozzo.com>

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-19 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 18:26 [Devel] [PATCH hci-8.1 0/2] ms/kbuild: GCOV follow-ups to the prefer-atomic fix Konstantin Khorenko
2026-10-19 18:26 ` [Devel] [PATCH hci-8.1 1/2] ms/kbuild: use $(CFLAGS_GCOV) in the prefer-atomic try-run test Konstantin Khorenko
2026-10-19 18:29   ` no-reply
2026-10-19 18:26 ` [Devel] [PATCH hci-8.1 2/2] ms/kbuild: move GCOV flags to scripts/Makefile.gcov Konstantin Khorenko
2026-10-19 18:30   ` no-reply
2026-10-19 19:54 ` [Devel] [PATCH hci-8.1 0/2] ms/kbuild: GCOV follow-ups to the prefer-atomic fix Konstantin Khorenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.