Skip to content

Commit

Permalink
[Kernel Config] Disable 32bit support (#95)
Browse files Browse the repository at this point in the history
Mainstream distributions have been abandoning i686/x32 for a while now, and the main use case now is wine, but wsl2 can natively support win32.

Co-authored-by: Andarwinux <Andarwinux@users.noreply.github.com>
  • Loading branch information
Andarwinux and Andarwinux authored Dec 1, 2024
1 parent 60f65b5 commit 47da57e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wsl2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
CONFIG_CGROUP_BPF=y
CONFIG_CGROUP_MISC=y
CONFIG_NAMESPACES=y
CONFIG_USER_NS=y
CONFIG_CHECKPOINT_RESTORE=y
CONFIG_SCHED_AUTOGROUP=y
Expand All @@ -55,6 +56,7 @@ CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
CONFIG_EXPERT=y
CONFIG_PROFILING=y
CONFIG_SMP=y
CONFIG_X86_X2APIC=y
Expand All @@ -71,6 +73,7 @@ CONFIG_NR_CPUS=256
# CONFIG_PERF_EVENTS_INTEL_RAPL is not set
# CONFIG_PERF_EVENTS_INTEL_CSTATE is not set
# CONFIG_PERF_EVENTS_AMD_UNCORE is not set
# CONFIG_X86_VSYSCALL_EMULATION is not set
# CONFIG_X86_IOPL_IOPERM is not set
# CONFIG_X86_5LEVEL is not set
CONFIG_NUMA=y
Expand All @@ -87,6 +90,7 @@ CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_LEGACY_VSYSCALL_NONE=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="cgroup_no_v1=all systemd.unified_cgroup_hierarchy=1"
# CONFIG_MODIFY_LDT_SYSCALL is not set
# CONFIG_SUSPEND is not set
# CONFIG_ACPI_SPCR_TABLE is not set
# CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set
Expand All @@ -99,7 +103,6 @@ CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_X86_AMD_PSTATE=y
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_PCI_MMCONFIG is not set
CONFIG_IA32_EMULATION=y
CONFIG_KVM=y
CONFIG_KVM_INTEL=y
CONFIG_X86_SGX_KVM=y
Expand Down

0 comments on commit 47da57e

Please sign in to comment.