Merge pull request #128252 from samuelgrf/xanmod-features-kconfig

linux_xanmod: match all features on homepage
This commit is contained in:
Sandro 2021-06-27 18:55:43 +02:00 committed by GitHub
commit 9adb5e6cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,10 +16,34 @@ buildLinux (args // rec {
};
structuredExtraConfig = with lib.kernel; {
PREEMPT = lib.mkForce yes;
# Preemptive Full Tickless Kernel at 500Hz
PREEMPT_VOLUNTARY = lib.mkForce no;
PREEMPT = lib.mkForce yes;
NO_HZ_FULL = yes;
HZ_500 = yes;
# Google's Multigenerational LRU Framework
LRU_GEN = yes;
LRU_GEN_ENABLED = yes;
# Google's BBRv2 TCP congestion Control
TCP_CONG_BBR2 = yes;
DEFAULT_BBR2 = yes;
# FQ-PIE Packet Scheduling
NET_SCH_DEFAULT = yes;
DEFAULT_FQ_PIE = yes;
# Graysky's additional CPU optimizations
CC_OPTIMIZE_FOR_PERFORMANCE_O3 = yes;
# Android Ashmem and Binder IPC Driver as module for Anbox
ASHMEM = module;
ANDROID = yes;
ANDROID_BINDER_IPC = module;
ANDROID_BINDERFS = module;
ANDROID_BINDER_DEVICES = freeform "binder,hwbinder,vndbinder";
};
extraMeta = {