Skip to content

Commit

Permalink
Always default to PREEMPT. Arch tends to set voluntary preemption whe…
Browse files Browse the repository at this point in the history
…n moving kernels to LTS, which we don't want as default.

Fixes #877
  • Loading branch information
Tk-Glitch committed Feb 13, 2024
1 parent 62b1e68 commit 04f42ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions linux-tkg-config/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,10 @@ _tkg_srcprep() {
_disable "CPU_FREQ_DEFAULT_GOV_ONDEMAND" "CPU_FREQ_DEFAULT_GOV_CONSERVATIVE" "CPU_FREQ_DEFAULT_GOV_PERFORMANCE" "CPU_FREQ_DEFAULT_GOV_PERFORMANCE_NODEF"
_module "BLK_DEV_LOOP"

# Arch tends to set voluntary preemption when moving kernels to LTS, which we don't want as default
_disable "PREEMPT_VOLUNTARY"
_enable "PREEMPT"

# This leads to all kinds of issues everytime Arch enables it in defconfig. Let's disable it and be happy.
_disable "SYSFB_SIMPLEFB"

Expand Down

0 comments on commit 04f42ae

Please sign in to comment.