This commit is contained in:
Peter Jung 2022-05-14 08:55:19 +02:00
parent 39f3707ba6
commit 476abea699
No known key found for this signature in database
GPG Key ID: C3C4820857F654FE
3 changed files with 3491 additions and 2326 deletions

View File

@ -1,7 +1,7 @@
pkgbase = linux-cachyos pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.17.6 pkgver = 5.17.7
pkgrel = 4 pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos url = https://github.com/CachyOS/linux-cachyos
arch = x86_64 arch = x86_64
arch = x86_64_v3 arch = x86_64_v3
@ -24,45 +24,47 @@ pkgbase = linux-cachyos
makedepends = make makedepends = make
makedepends = patch makedepends = patch
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.6.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.7.tar.xz
source = config source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-bore-sched.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0002-anbox.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0002-anbox.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0003-bbr2.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0003-bbr2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0004-cachy.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0004-cachy.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0005-clearlinux.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0005-migrate.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0006-cpu.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0006-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-hwmon.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-spf-lru.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-ck-hrtimer.patch
source = auto-cpu-optimization.sh source = auto-cpu-optimization.sh
sha256sums = 64ccf18380be5b5491322a3fd54904538b544e523e4bf86289dd8df7404cb10c sha256sums = 22f67ef6b12ef6c0c0353be4b90b4bf4b9b18b858c16c346fa495b67ec718c99
sha256sums = bce05218cb52e8f70fd0e652483d0413cf3d3f8bcbe0302bfb2d2f195ea6ef7c sha256sums = 7ad9dced23394e7db11dc70e5ad95589828001c8b09d3c1f9d54375e3c396dcb
sha256sums = 0f99f7935f545033eff35b5e4ffa54142c31c7034ee801cd1534fe085351f019
sha256sums = 09aa0e17190ee113a352573b2d2386cc04b522641fd277306e8ace9fd7af0037 sha256sums = 09aa0e17190ee113a352573b2d2386cc04b522641fd277306e8ace9fd7af0037
sha256sums = ddaf45cc72ed743f70c8754505357e94d6dd4133bfde6e9c6afc59f4cc12ee69 sha256sums = ddaf45cc72ed743f70c8754505357e94d6dd4133bfde6e9c6afc59f4cc12ee69
sha256sums = 6b31e4655e5ff9dbe95fb7db665426dad2bf3e33b5102d040a256f707cc99a23 sha256sums = 6b31e4655e5ff9dbe95fb7db665426dad2bf3e33b5102d040a256f707cc99a23
sha256sums = 7936c3cc3c7be010539414b392f942664f95d9659a44c614a2e57c5c72cdacbf sha256sums = 8d327824362a7484bf7a8e4bfbe37e969ee39bbbb1c09c9e1e909b7e5941240d
sha256sums = ef7d6253dc8a149ffea1293f65ef43fe9277ba6a629bc54d656f594429813b5e sha256sums = 543209b77159e768a105ac41bd3c760380ef73e97dabd53d958e0bdb024ddf1d
sha256sums = a13c4f5a688a86c8c67642a4129d2c89efd5f1afd3625e15ce5abe0b983d60d0
sha256sums = ab87b51fcacd9c7c5bf5d363ac45dab994c2c53d0e80e552390c7cbf752d7dca sha256sums = ab87b51fcacd9c7c5bf5d363ac45dab994c2c53d0e80e552390c7cbf752d7dca
sha256sums = 748d5b112d10870ce214c5fab1cc793492416faab73637e95c0a1b877b2574b7 sha256sums = 9b431688e9c7be5b5a75a0d76cb26e2d0121d03d30fc47e257ea3217d42d0e08
sha256sums = 9625dd5a95a07ea94ea903a1bd7100ff2037c31d72c68ec43b9b6435a8f6dbf6 sha256sums = 12ebabff02f66e1583232591fc4ddf09c6437f11a4c59045d6d50d4be0f3693e
sha256sums = b834d558c412add87fec0fc0ce117674216c1b8717f48eaf8134ac64249ba8b3 sha256sums = b834d558c412add87fec0fc0ce117674216c1b8717f48eaf8134ac64249ba8b3
sha256sums = 9c2c0ccee49c17663f27dcdf43cfa02cd45ee15d53ff1a05da7e683098abdde1 sha256sums = 9c2c0ccee49c17663f27dcdf43cfa02cd45ee15d53ff1a05da7e683098abdde1
sha256sums = 1b2dd9147b7443a42ec49e9d1bf01d1209bfcbe625e686e90f0276abb3ed52ec sha256sums = 1b2dd9147b7443a42ec49e9d1bf01d1209bfcbe625e686e90f0276abb3ed52ec
sha256sums = 0e5177f086ddcac9b0e6596d29588c0730cce5c827e4c51e57f835a32f25ee85 sha256sums = 0e5177f086ddcac9b0e6596d29588c0730cce5c827e4c51e57f835a32f25ee85
sha256sums = 761abc5bd65c194b6b810af1022df5888ce0ecbe70ffe4cd67e6e0c748fb78a2 sha256sums = 761abc5bd65c194b6b810af1022df5888ce0ecbe70ffe4cd67e6e0c748fb78a2
sha256sums = 07e34ca2f03d96837166ff4764503a76ff6f499107716455073e5e081b40a146 sha256sums = 07e34ca2f03d96837166ff4764503a76ff6f499107716455073e5e081b40a146
sha256sums = 179b540f8848b03ccb1a0d12e24feab63fd0576b5e9eed8f214d6e9cb790f151
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-cfs pkgname = linux-cachyos
pkgdesc = The Linux CFS scheduler Kernel by CachyOS with other patches and improvements kernel and modules pkgdesc = The Linux BORE scheduler Kernel by CachyOS with other patches and improvements kernel and modules
depends = coreutils depends = coreutils
depends = kmod depends = kmod
depends = initramfs depends = initramfs
@ -73,6 +75,6 @@ pkgname = linux-cachyos-cfs
provides = WIREGUARD-MODULE provides = WIREGUARD-MODULE
provides = KSMBD-MODULE provides = KSMBD-MODULE
pkgname = linux-cachyos-cfs-headers pkgname = linux-cachyos-headers
pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS with other patches and improvements kernel pkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS with other patches and improvements kernel
depends = pahole depends = pahole

View File

@ -13,7 +13,7 @@
# 'bore' - select 'Burst-Oriented Response Enhancer' # 'bore' - select 'Burst-Oriented Response Enhancer'
# 'tt' - select 'Task Type Scheduler by Hamad Marri' # 'tt' - select 'Task Type Scheduler by Hamad Marri'
# 'cfs' - select 'Completely Fair Scheduler' # 'cfs' - select 'Completely Fair Scheduler'
_cpusched='cfs' _cpusched='bore'
### BUILD OPTIONS ### BUILD OPTIONS
# Set these variables to ANYTHING that is not null to enable them # Set these variables to ANYTHING that is not null to enable them
@ -106,12 +106,13 @@ _thin_lto_cachedir=
_use_cfi= _use_cfi=
if [ -n "$_use_llvm_lto" ]; then if [ -n "$_use_llvm_lto" ]; then
# pkgbase=linux-cachyos-${_cpusched}-lto
pkgbase=linux-cachyos-lto pkgbase=linux-cachyos-lto
else else
pkgbase=linux-cachyos pkgbase=linux-cachyos
fi fi
_major=5.17 _major=5.17
_minor=6 _minor=7
#_minorc=$((_minor+1)) #_minorc=$((_minor+1))
#_rcver=rc8 #_rcver=rc8
pkgver=${_major}.${_minor} pkgver=${_major}.${_minor}
@ -121,8 +122,8 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable} _srcname=linux-${_stable}
#_srcname=linux-${_major} #_srcname=linux-${_major}
arch=(x86_64 x86_64_v3) arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS with other patches and improvements' pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
pkgrel=4 pkgrel=2
arch=('x86_64' 'x86_64_v3') arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos" url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2') license=('GPL2')
@ -159,17 +160,18 @@ source+=(
"${_patchsource}/0002-anbox.patch" "${_patchsource}/0002-anbox.patch"
"${_patchsource}/0003-bbr2.patch" "${_patchsource}/0003-bbr2.patch"
"${_patchsource}/0004-cachy.patch" "${_patchsource}/0004-cachy.patch"
"${_patchsource}/0005-clearlinux.patch" "${_patchsource}/0005-migrate.patch"
"${_patchsource}/0006-cpu.patch" "${_patchsource}/0006-clearlinux.patch"
"${_patchsource}/0007-fixes-miscellaneous.patch" "${_patchsource}/0007-cpu.patch"
"${_patchsource}/0008-fs-patches.patch" "${_patchsource}/0008-fixes-miscellaneous.patch"
"${_patchsource}/0009-hwmon.patch" "${_patchsource}/0009-fs-patches.patch"
"${_patchsource}/0010-lru-le9.patch" "${_patchsource}/0010-hwmon.patch"
"${_patchsource}/0011-spf-lru.patch" "${_patchsource}/0011-lru-le9.patch"
"${_patchsource}/0012-xanmod.patch" "${_patchsource}/0012-spf-lru.patch"
"${_patchsource}/0013-lrng.patch" "${_patchsource}/0013-xanmod.patch"
"${_patchsource}/0014-ck-hrtimer.patch" "${_patchsource}/0014-lrng.patch"
"${_patchsource}/0015-futex-winesync.patch" "${_patchsource}/0015-ck-hrtimer.patch"
# "${_patchsource}/0016-futex-winesync.patch"
"auto-cpu-optimization.sh" "auto-cpu-optimization.sh"
) )
@ -507,55 +509,6 @@ prepare() {
--enable ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder" --enable ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
fi fi
scripts/config --enable ACPI_REV_OVERRIDE_POSSIBLE \
--enable ACPI_TABLE_UPGRADE
# General architecture-dependent options
scripts/config --enable KPROBES
# Enable loadable module support
scripts/config --undefine MODULE_SIG_FORCE \
--enable MODULE_COMPRESS_ZSTD
# Networking support
scripts/config --enable NETFILTER_INGRESS
# Device Drivers
scripts/config --enable FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER \
--enable DELL_SMBIOS_SMM \
--module PATA_JMICRON \
--enable-after SOUND SOUND_OSS_CORE \
--enable SND_OSSEMUL \
--module-after SND_OSSEMUL SND_MIXER_OSS \
--module-after SND_MIXER_OSS SND_PCM_OSS \
--enable-after SND_PCM_OSS SND_PCM_OSS_PLUGINS \
--module AGP --module-after AGP AGP_INTEL --module-after AGP_INTEL AGP_VIA \
--enable FW_LOADER_COMPRESS
# Kernel hacking -> Compile-time checks and compiler options -> Make section mismatch errors non-fatal
scripts/config --enable SECTION_MISMATCH_WARN_ONLY
# File systems
scripts/config --module NTFS3_FS \
--enable NTFS3_LZX_XPRESS \
--enable NTFS3_FS_POSIX_ACL
scripts/config --module SMB_SERVER \
--enable SMB_SERVER_SMBDIRECT \
--enable SMB_SERVER_CHECK_CAP_NET_ADMIN \
--enable SMB_SERVER_KERBEROS5
# Security options
scripts/config --enable SECURITY_SELINUX \
--enable SECURITY_SELINUX_BOOTPARAM \
--enable SECURITY_SMACK \
--enable SECURITY_SMACK_BRINGUP \
--enable SECURITY_SMACK_NETFILTER \
--enable SECURITY_SMACK_APPEND_SIGNALS \
--enable SECURITY_TOMOYO \
--enable SECURITY_APPARMOR \
--enable SECURITY_YAMA
scripts/config --disable DEBUG_INFO \ scripts/config --disable DEBUG_INFO \
--disable DEBUG_INFO_BTF \ --disable DEBUG_INFO_BTF \
--disable DEBUG_INFO_DWARF4 \ --disable DEBUG_INFO_DWARF4 \
@ -737,21 +690,22 @@ for _p in "${pkgname[@]}"; do
}" }"
done done
sha256sums=('64ccf18380be5b5491322a3fd54904538b544e523e4bf86289dd8df7404cb10c' sha256sums=('22f67ef6b12ef6c0c0353be4b90b4bf4b9b18b858c16c346fa495b67ec718c99'
'bce05218cb52e8f70fd0e652483d0413cf3d3f8bcbe0302bfb2d2f195ea6ef7c' '7ad9dced23394e7db11dc70e5ad95589828001c8b09d3c1f9d54375e3c396dcb'
'0f99f7935f545033eff35b5e4ffa54142c31c7034ee801cd1534fe085351f019'
'09aa0e17190ee113a352573b2d2386cc04b522641fd277306e8ace9fd7af0037' '09aa0e17190ee113a352573b2d2386cc04b522641fd277306e8ace9fd7af0037'
'ddaf45cc72ed743f70c8754505357e94d6dd4133bfde6e9c6afc59f4cc12ee69' 'ddaf45cc72ed743f70c8754505357e94d6dd4133bfde6e9c6afc59f4cc12ee69'
'6b31e4655e5ff9dbe95fb7db665426dad2bf3e33b5102d040a256f707cc99a23' '6b31e4655e5ff9dbe95fb7db665426dad2bf3e33b5102d040a256f707cc99a23'
'7936c3cc3c7be010539414b392f942664f95d9659a44c614a2e57c5c72cdacbf' '8d327824362a7484bf7a8e4bfbe37e969ee39bbbb1c09c9e1e909b7e5941240d'
'ef7d6253dc8a149ffea1293f65ef43fe9277ba6a629bc54d656f594429813b5e' '543209b77159e768a105ac41bd3c760380ef73e97dabd53d958e0bdb024ddf1d'
'a13c4f5a688a86c8c67642a4129d2c89efd5f1afd3625e15ce5abe0b983d60d0'
'ab87b51fcacd9c7c5bf5d363ac45dab994c2c53d0e80e552390c7cbf752d7dca' 'ab87b51fcacd9c7c5bf5d363ac45dab994c2c53d0e80e552390c7cbf752d7dca'
'748d5b112d10870ce214c5fab1cc793492416faab73637e95c0a1b877b2574b7' '9b431688e9c7be5b5a75a0d76cb26e2d0121d03d30fc47e257ea3217d42d0e08'
'9625dd5a95a07ea94ea903a1bd7100ff2037c31d72c68ec43b9b6435a8f6dbf6' '12ebabff02f66e1583232591fc4ddf09c6437f11a4c59045d6d50d4be0f3693e'
'b834d558c412add87fec0fc0ce117674216c1b8717f48eaf8134ac64249ba8b3' 'b834d558c412add87fec0fc0ce117674216c1b8717f48eaf8134ac64249ba8b3'
'9c2c0ccee49c17663f27dcdf43cfa02cd45ee15d53ff1a05da7e683098abdde1' '9c2c0ccee49c17663f27dcdf43cfa02cd45ee15d53ff1a05da7e683098abdde1'
'1b2dd9147b7443a42ec49e9d1bf01d1209bfcbe625e686e90f0276abb3ed52ec' '1b2dd9147b7443a42ec49e9d1bf01d1209bfcbe625e686e90f0276abb3ed52ec'
'0e5177f086ddcac9b0e6596d29588c0730cce5c827e4c51e57f835a32f25ee85' '0e5177f086ddcac9b0e6596d29588c0730cce5c827e4c51e57f835a32f25ee85'
'761abc5bd65c194b6b810af1022df5888ce0ecbe70ffe4cd67e6e0c748fb78a2' '761abc5bd65c194b6b810af1022df5888ce0ecbe70ffe4cd67e6e0c748fb78a2'
'07e34ca2f03d96837166ff4764503a76ff6f499107716455073e5e081b40a146' '07e34ca2f03d96837166ff4764503a76ff6f499107716455073e5e081b40a146'
'179b540f8848b03ccb1a0d12e24feab63fd0576b5e9eed8f214d6e9cb790f151'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b') '65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')

5667
config

File diff suppressed because it is too large Load Diff