linux-pikaos-template/scripts/config.sh

66 lines
2.0 KiB
Bash
Raw Permalink Normal View History

2023-02-22 16:23:11 +01:00
#!/bin/bash
echo "Pika Kernel - Applying configuration"
cp ../config .config
scripts/config -k -e CONFIG_GENERIC_CPU
scripts/config -e CACHY
2023-06-16 09:53:16 +02:00
scripts/config -e SCHED_BORE
2023-02-22 16:23:11 +01:00
2023-09-28 19:31:36 +02:00
scripts/config -e HZ_300 --set-val HZ 500
scripts/config -d HZ_PERIODIC -d NO_HZ_IDLE -d CONTEXT_TRACKING_FORCE -e NO_HZ_FULL_NODEF -e NO_HZ_FULL -e NO_HZ -e NO_HZ_COMMON -e CONTEXT_TRACKING
2023-02-22 16:23:11 +01:00
scripts/config -e PREEMPT_BUILD -d PREEMPT_NONE -d PREEMPT_VOLUNTARY -e PREEMPT -e PREEMPT_COUNT -e PREEMPTION -e PREEMPT_DYNAMIC
scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \
-e CC_OPTIMIZE_FOR_PERFORMANCE_O3
scripts/config -m TCP_CONG_CUBIC \
-d DEFAULT_CUBIC \
2023-09-28 19:31:36 +02:00
-e TCP_CONG_BBR \
-e DEFAULT_BBR \
--set-str DEFAULT_TCP_CONG bbr
scripts/config -m NET_SCH_FQ_CODEL \
-e NET_SCH_FQ \
-d DEFAULT_FQ_CODEL \
-e DEFAULT_FQ \
--set-str DEFAULT_NET_SCH fq
2023-02-22 16:23:11 +01:00
scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS
2023-09-28 19:31:36 +02:00
scripts/config -d TRANSPARENT_HUGEPAGE_MADVISE -e TRANSPARENT_HUGEPAGE_ALWAYS
scripts/config -e PER_VMA_LOCK -d PER_VMA_LOCK_STATS
2023-02-22 16:23:11 +01:00
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
scripts/config --set-val MODULE_COMPRESS_ZSTD_LEVEL 19 -e MODULE_COMPRESS_ZSTD_ULTRA --set-val MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 --set-val ZSTD_COMP_VAL 22
scripts/config -e EFI_HANDOVER_PROTOCOL
2023-02-22 16:23:11 +01:00
scripts/config -e USER_NS
scripts/config -d DEBUG_INFO \
2023-09-28 19:31:36 +02:00
-d DEBUG_INFO_BTF \
2023-02-22 16:23:11 +01:00
-d DEBUG_INFO_DWARF4 \
-d DEBUG_INFO_DWARF5 \
2023-09-28 19:31:36 +02:00
-d PAHOLE_HAS_SPLIT_BTF \
-d DEBUG_INFO_BTF_MODULES \
2023-02-22 16:23:11 +01:00
-d SLUB_DEBUG \
-d PM_DEBUG \
-d PM_ADVANCED_DEBUG \
-d PM_SLEEP_DEBUG \
-d ACPI_DEBUG \
-d SCHED_DEBUG \
-d LATENCYTOP \
-d DEBUG_PREEMPT
make prepare