All of lore.kernel.org
 help / color / mirror / Atom feed
* + raid-kunit-enable-raid6-pq-and-xor-benchmarks-if-kunit_all_tests=m.patch added to mm-nonmm-unstable branch
@ 2026-08-27  3:51 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-08-27  3:51 UTC (permalink / raw)
  To: mm-commits, hch, ebiggers, ardb, geert, akpm


The patch titled
     Subject: raid/kunit: enable RAID6 PQ and XOR benchmarks if KUNIT_ALL_TESTS=m
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     raid-kunit-enable-raid6-pq-and-xor-benchmarks-if-kunit_all_tests=m.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/raid-kunit-enable-raid6-pq-and-xor-benchmarks-if-kunit_all_tests=m.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days

------------------------------------------------------
From: Geert Uytterhoeven <geert@linux-m68k.org>
Subject: raid/kunit: enable RAID6 PQ and XOR benchmarks if KUNIT_ALL_TESTS=m
Date: Mon, 24 Aug 2026 17:14:01 +0200

Enabling the (possibly long-running benchmarks) by default may cause a big
delay in boot time in case of built-in tests.  However, they can still
safely be enabled by default if all tests are modular, as they would only
run when requested explicitly by the system administrator.

Link: https://lore.kernel.org/64c6e0191bd8ccef0074ffbb09bd0584680d710b.1787584360.git.geert@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/raid/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- a/lib/raid/Kconfig~raid-kunit-enable-raid6-pq-and-xor-benchmarks-if-kunit_all_tests=m
+++ a/lib/raid/Kconfig
@@ -32,6 +32,7 @@ config XOR_KUNIT_TEST
 config XOR_BENCHMARK
 	bool "Benchmark for xor_gen"
 	depends on XOR_KUNIT_TEST
+	default y if KUNIT_ALL_TESTS=m
 	help
 	  Include benchmarks in the KUnit test suite for xor_gen.
 
@@ -63,6 +64,7 @@ config RAID6_PQ_KUNIT_TEST
 config RAID6_PQ_KUNIT_BENCHMARK
 	bool "Benchmark for RAID6 PQ"
 	depends on RAID6_PQ_KUNIT_TEST
+	default y if KUNIT_ALL_TESTS=m
 	help
 	  Include benchmarks in the KUnit test suite for raid P/Q generation.
 
_

Patches currently in -mm which might be from geert@linux-m68k.org are

raid-kunit-enable-raid6-pq-and-xor-benchmarks-if-kunit_all_tests=m.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-27  3:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27  3:51 + raid-kunit-enable-raid6-pq-and-xor-benchmarks-if-kunit_all_tests=m.patch added to mm-nonmm-unstable branch Andrew Morton

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.