Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

6.2.rc2-1

Peter Jung4bbe189b78c0
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index 016f8c5c..b1286950 100644
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,7 +1,7 @@
-pkgbase = linux-cachyos-rc
+pkgbase = linux-cachyos-rc-lto
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
- pkgver = 6.2.rc1
- pkgrel = 3
+ pkgver = 6.2.rc2
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -20,21 +20,25 @@ pkgbase = linux-cachyos-rc
makedepends = binutils
makedepends = make
makedepends = patch
+ makedepends = clang
+ makedepends = llvm
+ makedepends = lld
+ makedepends = python
options = !strip
- source = https://github.com/torvalds/linux/archive/refs/tags/v6.2-rc1.tar.gz
+ source = https://github.com/torvalds/linux/archive/refs/tags/v6.2-rc2.tar.gz
source = config
source = auto-cpu-optimization.sh
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.2/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.2/misc/0001-Add-latency-priority-for-CFS-class.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.2/sched/0001-bore-cachy.patch
- sha256sums = cb8079f8ccd77328bf340805bae0ce45c437107c51001986f55b64b66277280e
+ sha256sums = 41198ec2da061b6b8d08d70020096dac24fbcda0f657e44d7b76e31c69f9fadb
sha256sums = 916892bbbcaaafda12ee7b1263454dc7495c931195ad9aaa8aff9a61b4196c03
sha256sums = 32e77b3b71225c9f04df2d44c25f982773a8fff9927d26788366baab5e242e74
- sha256sums = b5dadeb2b7ceb20e7a3d665b1933b00848092cb49676f173dc3c0afaea4f8d7c
+ sha256sums = bc1fd90c2cb8fe7dd259eea7d6df20051e76f8f3ef1584cda7d48854a17a0b5f
sha256sums = 7aa2d13e3aa8ddba51f338552d016e5f37fedc54537bad9080e12cecedf46673
sha256sums = b29d35fd272cc59856c2276d40d1e387d6fb30fb43af26d48be60b3efe012837
-pkgname = linux-cachyos-rc
+pkgname = linux-cachyos-rc-lto
pkgdesc = The Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
depends = coreutils
depends = kmod
@@ -48,7 +52,7 @@ pkgname = linux-cachyos-rc
provides = KSMBD-MODULE
provides = UKSMD-BUILTIN
-pkgname = linux-cachyos-rc-headers
+pkgname = linux-cachyos-rc-lto-headers
pkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements kernel
depends = pahole
- depends = linux-cachyos-rc
+ depends = linux-cachyos-rc-lto
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 60710aca..fa9b1501 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -102,7 +102,7 @@ _lru_config=${_lru_config-'standard'}
# 'standard' - enable per-VMA locking
# 'stats' - enable per-VMA locking with stats
# 'none' - disable per-VMA locking
-_vma_config=${_vma_config-'none'}
+_vma_config=${_vma_config-'standard'}
### Transparent Hugepages
# ATTENTION - one of two predefined values should be selected!
@@ -148,7 +148,7 @@ _zstd_level_value=${_zstd_level_value-'normal'}
# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".
# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
-_use_llvm_lto=${_use_llvm_lto-}
+_use_llvm_lto=${_use_llvm_lto-thin}
# Use suffix -lto only when requested by the user
# Enabled by default.
@@ -202,7 +202,7 @@ fi
_major=6.2
_minor=0
#_minorc=$((_minor+1))
-_rcver=rc1
+_rcver=rc2
pkgver=${_major}.${_rcver}
#_stable=${_major}.${_minor}
#_stable=${_major}
@@ -210,7 +210,7 @@ _stable=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
pkgdesc='Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements'
-pkgrel=3
+pkgrel=1
_kernver=$pkgver-$pkgrel
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
@@ -299,10 +299,6 @@ if [ -n "$_use_gcc_lto" ]; then
source+=("${_patchsource}/misc/gcc-lto/0001-gcc-LTO-support-for-the-kernel.patch"
"${_patchsource}/misc/gcc-lto/0002-gcc-lto-no-pie.patch")
fi
-## Use vma lock as an extra patch since it has some issues right now
-if [[ "$_vma_config" = "standard" || "$_vma_config" = "stats" ]]; then
- source+=("${_patchsource}/misc/0001-Introduce-per-VMA-lock.patch")
-fi
export KBUILD_BUILD_HOST=cachyos
export KBUILD_BUILD_USER=$pkgbase
@@ -1048,9 +1044,9 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('cb8079f8ccd77328bf340805bae0ce45c437107c51001986f55b64b66277280e'
+sha256sums=('41198ec2da061b6b8d08d70020096dac24fbcda0f657e44d7b76e31c69f9fadb'
'916892bbbcaaafda12ee7b1263454dc7495c931195ad9aaa8aff9a61b4196c03'
'32e77b3b71225c9f04df2d44c25f982773a8fff9927d26788366baab5e242e74'
- 'b5dadeb2b7ceb20e7a3d665b1933b00848092cb49676f173dc3c0afaea4f8d7c'
+ 'bc1fd90c2cb8fe7dd259eea7d6df20051e76f8f3ef1584cda7d48854a17a0b5f'
'7aa2d13e3aa8ddba51f338552d016e5f37fedc54537bad9080e12cecedf46673'
'b29d35fd272cc59856c2276d40d1e387d6fb30fb43af26d48be60b3efe012837')