From 3595e0dfb60f18a0c2e032ee3f3d68392e294ca5 Mon Sep 17 00:00:00 2001 From: Jack Sangdahl <0x6A73@pm.me> Date: Tue, 26 Mar 2024 22:35:12 -0600 Subject: and more kernel parameters --- kernel.html | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/kernel.html b/kernel.html index aec7c51..a38503c 100644 --- a/kernel.html +++ b/kernel.html @@ -48,6 +48,9 @@ bus options
binary emulations
general architecture-dependent options
+ enable the block layer
+ executable file formats
+ memory management options

Top Level Options

+
+

Enable the block layer

+
  • Legacy autoloading support (CONFIG_BLOCK_LEGACY_AUTOLOAD): N, OLD
  • +
  • Block layer SG support v4 helper lib (CONFIG_BLK_DEV_BSGLIB): N, auto enabled if needed
  • +
  • Block layer data integrity support (CONFIG_BLK_DEV_INTEGRITY): N
  • +
  • Allow writing to mounted block devices (CONFIG_BLK_DEV_WRITE_MOUNTED): Y, STD
  • +
  • Zoned block device support (CONFIG_BLK_DEV_ZONED): N
  • +
  • Block layer bio throttling support (CONFIG_BLK_DEV_THROTTLING): N, VIRT
  • +
  • Enable support for block device writeback throttling (CONFIG_BLK_WBT): Y
  • +
  • Enable writeback throttling by default (CONFIG_BLK_WBT_MQ): N
  • +
  • Enable support for latency based cgroup IO protection (CONFIG_BLK_CGROUP_IOLATENCY): N, VIRT
  • +
  • Enable support for cost model based cgroup IO controller (CONFIG_BLK_CGROUP_IOCOST): N, VIRT
  • +
  • Cgroup I/O controller for assigning an I/O priority class (CONFIG_BLK_CGROUP_IOPRIO): N, VIRT
  • +
  • Logic for interfacing with Opal enabled SEDs (CONFIG_BLK_SED_OPAL): N
  • +
  • Enable inline encryption support in block layer (CONFIG_BLK_INLINE_ENCRYPTION): N
  • +
  • Partition Types
  • + +
  • IO Schedulers
  • + +
    +
    +

    Executable file formats

    +
  • Kernel support for ELF binaries (CONFIG_BINFMT_ELF): Y, STD
  • +
  • Write ELF core dumps with partial segments (CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS): Y
  • +
  • Kernel support for scripts starting with #! (CONFIG_BINFMT_SCRIPT): Y, STD
  • +
  • Kernel support for MISC binaries (CONFIG_BINFMT_MISC): N, SEC
  • +
  • Enable core dump support (CONFIG_COREDUMP): Y
  • +
    +
    +

    Memory Management options

    +
  • Support for paging of anonymous memory (swap) (CONFIG_SWAP): Y, STD
  • +
  • Slab allocator options
  • + +
  • Page allocator randomization (CONFIG_SHUFFLE_PAGE_ALLOCATOR): Y, SEC
  • +
  • Disable heap randomization (CONFIG_COMPAT_BRK): N, OLD
  • +
  • Sparse Memory virtual memmap (CONFIG_SPARSE_VMEMMAP): Y, STD
  • +
  • Memory hotplug (MEMORY_HOTPLUG): N, VIRT
  • +
  • Allow for memory compaction (CONFIG_COMPACTION): Y, STD
  • +
  • Free page reporting (CONFIG_PAGE_REPORTING): N, VIRT
  • +
  • Page migration (CONFIG_MIGRATION): Y, auto enabled if needed
  • +
  • Maximum scale factor of PCP (Per-CPU pageset) batch allocate/free (CONFIG_PCP_BATCH_SCALE_MAX): 5
  • +
  • Enable KSM for page merging (CONFIG_KSM): N, VIRT
  • +
  • Low address space to protect from user allocation (CONFIG_DEFAULT_MMAP_ADDR): 65536
  • +
  • Enable recovery from hardware memory errors (CONFIG_MEMORY_FAILURE): N, unless you have ECC memory
  • +
  • Transparent Hugepage Support (CONFIG_TRANSPARENT_HUGEPAGE): N, unless you have large amounts of memory
  • +
  • Contiguous Memory Allocator (CONFIG_CMA): N
  • +
  • Defer initialisation of struct pages to kthreads (CONFIG_DEFERRED_PAGE_INIT): N
  • +
  • Enable idle page tracking (CONFIG_IDLE_PAGE_TRACKING): N
  • +
  • Support DMA zone (ZONE_DMA): Y
  • +
  • Support DMA32 zone (ZONE_DMA32): Y
  • +
  • Enable VM event counters /proc/vmstat (CONFIG_VM_EVENT_COUNTERS): Y
  • +
  • Collect percpu memory statistics (CONFIG_PERCPU_STATS): N, DEV
  • +
  • Enable a module to run time tests on dma_pool (CONFIG_DMAPOOL_TEST): N, DEV
  • +
  • Enable memfd_create() system call (MEMFD_CREATE): Y
  • +
  • Enable memfd_secreat() system call (CONFIG_SECRETMEM): Y
  • +
  • Anonymous VMA name support (CONFIG_ANON_VMA_NAME): N, SEC
  • +
  • Enable userfaultfd() system call (CONFIG_USERFAULTFD): N, VIRT
  • +
  • Multi-Gen LRU (CONFIG_LRU_GEN): N
  • +
  • Data Access Monitoring
  • + +

    This is a WIP... -- cgit v1.2.3