Skip to contentSkip to conversation

xor-kunit-add-a-benchmark.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Aug 4

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: xor/kunit: add a benchmark
has been removed from the -mm tree. Its filename was
xor-kunit-add-a-benchmark.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: xor/kunit: add a benchmark
Date: Wed, 15 Jul 2026 16:47:35 +0200

Add a benchmark to test the XOR functions for more representative block sizes and numbers of disks. Including 64k would be useful here, but increasing the test buffer size increases the runtime of the functional kunit test too much unfortunately.

The runtime numbers are reported in GB/s as the numbers of modern implementations are basically unreadable as MB/s. This means retro-architectures could report 0, but that is an easy tradeoff.

---

 lib/raid/Kconfig               |    6 +++
 lib/raid/xor/tests/xor_kunit.c |   62 +++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
lib/raid/Kconfig renamed from lib/raid/Kconfig~xor-kunit-add-a-benchmark +6 -0
@@ -29,6 +29,12 @@ config XOR_KUNIT_TEST
 	  This is intended to help people writing architecture-specific
 	  optimized versions.  If unsure, say N.
 
+config XOR_BENCHMARK
+	bool "Benchmark for xor_gen"
+	depends on XOR_KUNIT_TEST
+	help
+	  Include benchmarks in the KUnit test suite for xor_gen.
+
 config RAID6_PQ
 	tristate
 
lib/raid/xor/tests/xor_kunit.c renamed from lib/raid/xor/tests/xor_kunit.c~xor-kunit-add-a-benchmark +62 -0

70 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

mm-remove-wb_writeout_inc.patch shmem-provide-a-shmem_write_folio-wrapper.patch mm-swap-introduce-struct-swap_io_ctx.patch mm-swap-also-use-struct-swap_iocb-for-block-i-o.patch mm-swap-remove-count_swpout_vm_event.patch mm-swap-use-swap_ops-to-register-swap-devices-methods.patch mm-swap-remove-swp_fs_ops.patch mm-vmstat-add-nrswpinout-counters.patch