]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - init/Kconfig
[PATCH] tiny: Make x86 doublefault handling optional
[mirror_ubuntu-jammy-kernel.git] / init / Kconfig
index ba42f3793a84332dcbe6cdb5e4594d193997f59c..0eb65f2ad8c91195b82a3e9717f1fc3a66e117fa 100644 (file)
@@ -309,6 +309,15 @@ config BUG
           option for embedded systems with no facilities for reporting errors.
           Just say Y.
 
+config DOUBLEFAULT
+       depends X86
+       default y if X86
+       bool "Enable doublefault exception handler" if EMBEDDED
+       help
+          This option allows trapping of rare doublefault exceptions that
+          would otherwise cause a system to silently reboot. Disabling this
+          option saves about 4k.
+
 config BASE_FULL
        default y
        bool "Enable full-sized data structures for core" if EMBEDDED
@@ -380,6 +389,15 @@ config CC_ALIGN_JUMPS
          no dummy operations need be executed.
          Zero means use compiler's default.
 
+config SLAB
+       default y
+       bool "Use full SLAB allocator" if EMBEDDED
+       help
+         Disabling this replaces the advanced SLAB allocator and
+         kmalloc support with the drastically simpler SLOB allocator.
+         SLOB is more space efficient but does not scale well and is
+         more susceptible to fragmentation.
+
 endmenu                # General setup
 
 config TINY_SHMEM
@@ -391,6 +409,10 @@ config BASE_SMALL
        default 0 if BASE_FULL
        default 1 if !BASE_FULL
 
+config SLOB
+       default !SLAB
+       bool
+
 menu "Loadable module support"
 
 config MODULES