Bug 2227793 - Fedora Kernel should not have CONFIG_CRYPTO_STATS enabled
Summary: Fedora Kernel should not have CONFIG_CRYPTO_STATS enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 14:11 UTC by jsbillings
Modified: 2023-08-09 02:32 UTC (History)
17 users (show)

Fixed In Version: kernel-6.4.8-200.fc38 kernel-6.4.8-100.fc37
Clone Of:
Environment:
Last Closed: 2023-08-09 01:31:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.