Bug 2227793

Summary: Fedora Kernel should not have CONFIG_CRYPTO_STATS enabled
Product: [Fedora] Fedora Reporter: jsbillings <billings>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, josef, jyoung, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-6.4.8-200.fc38 kernel-6.4.8-100.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-09 01:31:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jsbillings 2023-07-31 14:11:53 UTC
Do not enable CONFIG_CRYPTO_STATS kernel config


According to the Kconfig documentation for this option:

config CRYPTO_STATS
	bool "Crypto usage statistics"
	depends on CRYPTO_USER
	help
	  Enable the gathering of crypto stats.

	  Enabling this option reduces the performance of the crypto API.  It
	  should only be enabled when there is actually a use case for it.

See:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/crypto/Kconfig#n1398

Also saw on the Ceph-users list that they've seen some performance hit with it enabled:
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/44GMO5UGOXDZKFSOQMCPPHYTREUEA3ZI/

Reproducible: Always

Comment 1 Kate Hsuan 2023-08-01 03:53:42 UTC
Hi jsbillings,

Thank you for reporting this. I've submitted the request to Fedora Kernel.
Hope this can get approved soon :)

https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2623

Comment 2 Jerone Young 2023-08-02 17:02:07 UTC
It got merged and will be apart of Fedora starting with 6.5+ kernels:
      https://gitlab.com/cki-project/kernel-ark/-/commit/678826af9201b7e49cbb51ce6272d79f8cdcdb8f

Comment 3 Fedora Update System 2023-08-04 04:52:57 UTC
FEDORA-2023-17f28bc4d0 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-17f28bc4d0

Comment 4 Fedora Update System 2023-08-05 02:14:19 UTC
FEDORA-2023-17f28bc4d0 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-17f28bc4d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-17f28bc4d0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-08-05 02:34:15 UTC
FEDORA-2023-bf0dd6abac has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-bf0dd6abac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-bf0dd6abac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-08-09 01:31:19 UTC
FEDORA-2023-17f28bc4d0 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-08-09 02:32:26 UTC
FEDORA-2023-bf0dd6abac has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.