Config cleaning.
This commit is contained in:
@@ -6,12 +6,13 @@ CONFIG_TOOLS_SUPPORT_RELR=y
|
|||||||
CONFIG_RUST=y
|
CONFIG_RUST=y
|
||||||
CONFIG_RUST_OVERFLOW_CHECKS=y
|
CONFIG_RUST_OVERFLOW_CHECKS=y
|
||||||
|
|
||||||
|
#
|
||||||
# We need to disable CONFIG_WERROR because of stupid bcachefs rust stuff
|
# We need to disable CONFIG_WERROR because of stupid bcachefs rust stuff
|
||||||
#
|
#
|
||||||
# CONFIG_COMPILE_TEST is not set
|
# CONFIG_COMPILE_TEST is not set
|
||||||
# CONFIG_WERROR is not set
|
# CONFIG_WERROR is not set
|
||||||
|
|
||||||
|
#
|
||||||
# Standard default for not get timers interrupts on idle CPUs.
|
# Standard default for not get timers interrupts on idle CPUs.
|
||||||
#
|
#
|
||||||
CONFIG_NO_HZ_COMMON=y
|
CONFIG_NO_HZ_COMMON=y
|
||||||
@@ -20,6 +21,7 @@ CONFIG_NO_HZ_IDLE=y
|
|||||||
# CONFIG_NO_HZ_FULL is not set
|
# CONFIG_NO_HZ_FULL is not set
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# This option reduces kernel latency by adding explicit preemption points throughout the kernel code
|
# This option reduces kernel latency by adding explicit preemption points throughout the kernel code
|
||||||
#
|
#
|
||||||
# CONFIG_PREEMPT_NONE is not set
|
# CONFIG_PREEMPT_NONE is not set
|
||||||
@@ -46,11 +48,12 @@ CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
|
|||||||
# CONFIG_MODULE_SIG_KEY_TYPE_RSA is not set
|
# CONFIG_MODULE_SIG_KEY_TYPE_RSA is not set
|
||||||
CONFIG_MODULE_SIG_KEY_TYPE_ECDSA=y
|
CONFIG_MODULE_SIG_KEY_TYPE_ECDSA=y
|
||||||
|
|
||||||
|
#
|
||||||
# SATA
|
# SATA
|
||||||
#
|
#
|
||||||
CONFIG_SATA_AHCI=y
|
CONFIG_SATA_AHCI=y
|
||||||
|
|
||||||
|
#
|
||||||
# NVME Support
|
# NVME Support
|
||||||
#
|
#
|
||||||
CONFIG_NVME_COMMON=y
|
CONFIG_NVME_COMMON=y
|
||||||
@@ -69,35 +72,40 @@ CONFIG_BCACHEFS_FS=y
|
|||||||
|
|
||||||
# CONFIG_DEBUG_KERNEL is not set
|
# CONFIG_DEBUG_KERNEL is not set
|
||||||
|
|
||||||
|
#
|
||||||
# New proc acc file format
|
# New proc acc file format
|
||||||
#
|
#
|
||||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||||
|
|
||||||
|
#
|
||||||
# ACPI platform devices
|
# ACPI platform devices
|
||||||
#
|
#
|
||||||
CONFIG_X86_INTEL_LPSS=y
|
CONFIG_X86_INTEL_LPSS=y
|
||||||
CONFIG_X86_AMD_PLATFORM_DEVICE=y
|
CONFIG_X86_AMD_PLATFORM_DEVICE=y
|
||||||
|
3
|
||||||
|
|
||||||
# Max CPUS - lover a bit to save resources
|
# Max CPUS - lover a bit to save resources
|
||||||
#
|
#
|
||||||
CONFIG_NR_CPUS_DEFAULT=64
|
CONFIG_NR_CPUS_DEFAULT=64
|
||||||
CONFIG_NR_CPUS=64
|
CONFIG_NR_CPUS=64
|
||||||
|
|
||||||
|
#
|
||||||
# Timer interrupts per second
|
# Timer interrupts per second
|
||||||
# Increase interactivity
|
# Increase interactivity
|
||||||
#
|
#
|
||||||
CONFIG_HZ_1000=y
|
CONFIG_HZ_1000=y
|
||||||
CONFIG_HZ=1000
|
CONFIG_HZ=1000
|
||||||
|
|
||||||
|
#
|
||||||
# bzz pss
|
# bzz pss
|
||||||
|
#
|
||||||
CONFIG_DRM_PANIC_FOREGROUND_COLOR=0xffbf00
|
CONFIG_DRM_PANIC_FOREGROUND_COLOR=0xffbf00
|
||||||
CONFIG_DRM_PANIC_BACKGROUND_COLOR=0x000000
|
CONFIG_DRM_PANIC_BACKGROUND_COLOR=0x000000
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Frame buffer Devices
|
# Frame buffer Devices
|
||||||
|
#
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_VESA=y
|
CONFIG_FB_VESA=y
|
||||||
CONFIG_FB_EFI=y
|
CONFIG_FB_EFI=y
|
||||||
@@ -106,6 +114,7 @@ CONFIG_FB_NOTIFY=y
|
|||||||
CONFIG_FB_DEVICE=y
|
CONFIG_FB_DEVICE=y
|
||||||
CONFIG_FB_MODE_HELPERS=y
|
CONFIG_FB_MODE_HELPERS=y
|
||||||
|
|
||||||
|
#
|
||||||
# Graphics / GPU (Set to Module)
|
# Graphics / GPU (Set to Module)
|
||||||
#
|
#
|
||||||
CONFIG_DRM=y
|
CONFIG_DRM=y
|
||||||
@@ -121,7 +130,7 @@ CONFIG_DRM_AMDGPU_CIK=y
|
|||||||
CONFIG_DRM_AMDGPU_USERPTR=y
|
CONFIG_DRM_AMDGPU_USERPTR=y
|
||||||
CONFIG_DRM_AMD_ISP=y
|
CONFIG_DRM_AMD_ISP=y
|
||||||
|
|
||||||
|
#
|
||||||
# Compression
|
# Compression
|
||||||
#
|
#
|
||||||
CONFIG_HAVE_KERNEL_LZ4=y
|
CONFIG_HAVE_KERNEL_LZ4=y
|
||||||
@@ -133,19 +142,21 @@ CONFIG_KERNEL_ZSTD=y
|
|||||||
CONFIG_DEFAULT_INIT=""
|
CONFIG_DEFAULT_INIT=""
|
||||||
CONFIG_DEFAULT_HOSTNAME="kiralinux"
|
CONFIG_DEFAULT_HOSTNAME="kiralinux"
|
||||||
|
|
||||||
|
#
|
||||||
# Disabling BPF stuff
|
# Disabling BPF stuff
|
||||||
#
|
#
|
||||||
# CONFIG_AF_KCM is not set
|
# CONFIG_AF_KCM is not set
|
||||||
# CONFIG_BPF_SYSCALL is not set
|
# CONFIG_BPF_SYSCALL is not set
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# Scheduler features
|
# Scheduler features
|
||||||
# Increasing CONFIG_UCLAMP_BUCKETS_COUNT for more precise scheduling
|
# Increasing CONFIG_UCLAMP_BUCKETS_COUNT for more precise scheduling
|
||||||
#
|
#
|
||||||
CONFIG_UCLAMP_TASK=y
|
CONFIG_UCLAMP_TASK=y
|
||||||
CONFIG_UCLAMP_BUCKETS_COUNT=7
|
CONFIG_UCLAMP_BUCKETS_COUNT=7
|
||||||
|
|
||||||
|
#
|
||||||
# Definetly no need for desktop not involved in kernel development
|
# Definetly no need for desktop not involved in kernel development
|
||||||
#
|
#
|
||||||
# CONFIG_PROFILING is not set
|
# CONFIG_PROFILING is not set
|
||||||
@@ -175,7 +186,7 @@ CONFIG_BLK_PM=y
|
|||||||
CONFIG_BLK_MQ_STACKING=y
|
CONFIG_BLK_MQ_STACKING=y
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# Disabling ZSWAP - currently its acts in retarded way.
|
# Disabling ZSWAP - currently its acts in retarded way.
|
||||||
# Possibly causing issues not classified as related to it.
|
# Possibly causing issues not classified as related to it.
|
||||||
# Users should prefer ZRAM or SWAP+ZRAM combination
|
# Users should prefer ZRAM or SWAP+ZRAM combination
|
||||||
@@ -185,12 +196,13 @@ CONFIG_SWAP=y
|
|||||||
CONFIG_ZSMALLOC=y
|
CONFIG_ZSMALLOC=y
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# Firmware loader
|
# Firmware loader
|
||||||
#
|
#
|
||||||
CONFIG_FW_LOADER=y
|
CONFIG_FW_LOADER=y
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# enables support for parsing and handling UEFI Common Platform Error Records (CPER)
|
# enables support for parsing and handling UEFI Common Platform Error Records (CPER)
|
||||||
#
|
#
|
||||||
CONFIG_UEFI_CPER=y
|
CONFIG_UEFI_CPER=y
|
||||||
@@ -215,6 +227,7 @@ CONFIG_ZRAM_MEMORY_TRACKING=y
|
|||||||
CONFIG_ZRAM_MULTI_COMP=y
|
CONFIG_ZRAM_MULTI_COMP=y
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# Allow the SCSI subsystem to probe for devices in parallel with the rest of the system boot process.
|
# Allow the SCSI subsystem to probe for devices in parallel with the rest of the system boot process.
|
||||||
#
|
#
|
||||||
CONFIG_SCSI_SCAN_ASYNC=y
|
CONFIG_SCSI_SCAN_ASYNC=y
|
||||||
@@ -223,6 +236,7 @@ CONFIG_SCSI_SCAN_ASYNC=y
|
|||||||
CONFIG_USB_SUPPORT=y
|
CONFIG_USB_SUPPORT=y
|
||||||
CONFIG_USB_COMMON=y
|
CONFIG_USB_COMMON=y
|
||||||
|
|
||||||
|
#
|
||||||
# USB HID support
|
# USB HID support
|
||||||
#
|
#
|
||||||
CONFIG_USB_HID=y
|
CONFIG_USB_HID=y
|
||||||
@@ -234,6 +248,7 @@ CONFIG_INTEGRITY=y
|
|||||||
CONFIG_INTEGRITY_PLATFORM_KEYRING=y
|
CONFIG_INTEGRITY_PLATFORM_KEYRING=y
|
||||||
CONFIG_LOAD_UEFI_KEYS=y
|
CONFIG_LOAD_UEFI_KEYS=y
|
||||||
|
|
||||||
|
#
|
||||||
# Bounds checking
|
# Bounds checking
|
||||||
#
|
#
|
||||||
CONFIG_FORTIFY_SOURCE=y
|
CONFIG_FORTIFY_SOURCE=y
|
||||||
@@ -241,6 +256,7 @@ CONFIG_HARDENED_USERCOPY=y
|
|||||||
CONFIG_HARDENED_USERCOPY_DEFAULT_ON=y
|
CONFIG_HARDENED_USERCOPY_DEFAULT_ON=y
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
# Hardening of kernel data structures
|
# Hardening of kernel data structures
|
||||||
#
|
#
|
||||||
CONFIG_LIST_HARDENED=y
|
CONFIG_LIST_HARDENED=y
|
||||||
|
|||||||
Reference in New Issue
Block a user