From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9F8A27CCE0 for ; Fri, 20 Mar 2026 06:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773987057; cv=none; b=RksWgR4c3HoCs8ysJvRlNwgccxvgvN4mMXEtvETlmexSVmGmMOId8ZfqVAY4AC6zx3xECxteKnVmmNrI6dAjC3ywjhm6eJNDuQvQ0mXSsiRJoNCzi+IdFx8uWzMON4HGwFVOunlUvFAM6+sx5z11PexnZe8qsMV4eorV4kE84D0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773987057; c=relaxed/simple; bh=n7LgFgkZ88IJ/hMH3zs0Om6GScBtmFY7Jf38aF0UOq4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Cs+FFmoAXD9W/PjOX47f/FmTgzkXU5ID0mBn3GhnpLe5+xz+m3agQZNPXHHPGv4q9JuFot3VTSY2weNUYOLJicCmCIhA2NRB6IXQhianIAG8S8nc86H5xsgY1kTlEDWB30JRLbCmuCCdQoFaAPLDvi9gyZA3OQSsM5wOzQ2OvCk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=iTcs2gZW; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="iTcs2gZW" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1773987053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fXo6H32cr3HG8t0LoC8JWMAyx4PWbzKReGAxpF5HxXc=; b=iTcs2gZWGg30DQ19g+aMeIVa15tlGyUlF6O0UtEHkz+rSn3KbmO9xj6wm9QQ6TrboNWBQB DOCcq0yTAVJOVTwOTlBvttNmuh/3pwJdzZXjBa6EV0RHmvHXRfQuJ9p82qzr9vyk+KBDxy J5ksEDfUC5SJNHuvyijrDZt4m5pEgOA= From: sunliming@linux.dev To: song@kernel.org, yukuai@fnnas.com, akpm@linux-foundation.org Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, sunliming Subject: [PATCH RESEND v3 3/3] lib/raid6: Delete the RAID6_PQ_BENCHMARK config Date: Fri, 20 Mar 2026 14:07:50 +0800 Message-Id: <20260320060750.31334-4-sunliming@linux.dev> In-Reply-To: <20260320060750.31334-1-sunliming@linux.dev> References: <20260320060750.31334-1-sunliming@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: sunliming Now RAID6 PQ functions is automatically choosed and the RAID6_PQ_BENCHMARK is not needed. Signed-off-by: sunliming --- include/linux/raid/pq.h | 3 --- lib/Kconfig | 8 -------- 2 files changed, 11 deletions(-) diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index 2467b3be15c9..6378ec4ae4ba 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h @@ -67,9 +67,6 @@ extern const char raid6_empty_zero_page[PAGE_SIZE]; #define MODULE_DESCRIPTION(desc) #define subsys_initcall(x) #define module_exit(x) - -#define IS_ENABLED(x) (x) -#define CONFIG_RAID6_PQ_BENCHMARK 1 #endif /* __KERNEL__ */ /* Routine choices */ diff --git a/lib/Kconfig b/lib/Kconfig index 2923924bea78..841a0245a2c4 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -11,14 +11,6 @@ menu "Library routines" config RAID6_PQ tristate -config RAID6_PQ_BENCHMARK - bool "Automatically choose fastest RAID6 PQ functions" - depends on RAID6_PQ - default y - help - Benchmark all available RAID6 PQ functions on init and choose the - fastest one. - config LINEAR_RANGES tristate -- 2.25.1