mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-01 03:21:41 +00:00
feat(kernel): Enable full preemption by default, reduces latency in certain workloads.
This commit is contained in:
parent
c383bd19b1
commit
6fcd085db4
@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
||||
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
||||
|
||||
# SCRIPT VERSION
|
||||
HWS_VER=45
|
||||
HWS_VER=46
|
||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||
HWS_VER_RAN=$(cat $HWS_VER_FILE)
|
||||
|
||||
@ -134,6 +134,11 @@ if [[ ! $KARGS =~ "disable_ertm" ]]; then
|
||||
NEEDED_KARGS+=("--append-if-missing=bluetooth.disable_ertm=1")
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "preempt" ]]; then
|
||||
echo "Adding needed kargs for full preemption"
|
||||
NEEDED_KARGS+=("--append-if-missing=preempt=full")
|
||||
fi
|
||||
|
||||
if [[ $KARGS =~ "nomodeset" ]]; then
|
||||
echo "Removing nomodeset"
|
||||
NEEDED_KARGS+=("--delete-if-present=nomodeset")
|
||||
|
Loading…
Reference in New Issue
Block a user