From 674e0403d432065b05e748492e9356367f16237b Mon Sep 17 00:00:00 2001 From: "P. Jung" Date: Wed, 12 Jan 2022 17:13:10 +0100 Subject: [PATCH] 5.16.0-2-fixes --- .SRCINFO | 38 +++++++------- PKGBUILD | 150 +++++++++++++++++++++++++++++------------------------- config | 0 configure | 0 4 files changed, 99 insertions(+), 89 deletions(-) mode change 100644 => 100755 PKGBUILD mode change 100644 => 100755 config mode change 100644 => 100755 configure diff --git a/.SRCINFO b/.SRCINFO index 6ca9431..2dc08ca 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,5 +1,5 @@ -pkgbase = linux-cachyos-bore - pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements +pkgbase = linux-cachyos + pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements pkgver = 5.16.0 pkgrel = 2 url = https://github.com/CachyOS/linux-cachyos @@ -21,12 +21,12 @@ pkgbase = linux-cachyos-bore options = !strip source = https://git.kernel.org/torvalds/t/linux-5.16.tar.gz source = config - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/sched/0001-bore-sched.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-MG-LRU-v6.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amd64-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-sched-perf-fix.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-block-patches.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-amdpstate.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-blk-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-pm.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-anbox.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-bbr2-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-btrfs.patch @@ -34,28 +34,27 @@ pkgbase = linux-cachyos-bore source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cfi.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-cpu.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-clearlinux.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-f2fs-xfs-ext4-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-misc.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-fixes.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-futex.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-futex-winesync.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-hwmon.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-ksmbd.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-rcu.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zstd-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-zen-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/0001-v4l2loopback.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/misc/0007-v5.16-winesync.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0002-mm-next.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.16/next/0003-folio-io.patch source = auto-cpu-optimization.sh md5sums = 5c6acbcc119ab680a32264c865ea70e1 md5sums = f9425b75de74d70497781f8c8448c27f - md5sums = 1fb4de64e7b59b67afecc7b71b951576 md5sums = d16ccc4f52eb0bc08893dc66a7caa154 - md5sums = 194c8e20ad30973c32159cb23f3be4c9 - md5sums = 1262001a6a1e72fa271481cf897ac6d1 + md5sums = dbdb6754a1f5b3ccf26321843a070406 + md5sums = d6feae0f2dd1b24a853d335da003cb51 md5sums = f717c0a238353f443a6f0633a59ee8ca - md5sums = 2923efbd99eea15f7ef2ada70e661bd5 + md5sums = 194c8e20ad30973c32159cb23f3be4c9 + md5sums = 2faaa79055263c1cdeeaa2896e641696 md5sums = 80e419d6847d4122a23a141fd3a40e52 md5sums = d194311161f8f44755e532db738f4a2d md5sums = e9dff9b551b8fa7c0b47ae5ac0b16365 @@ -63,23 +62,22 @@ pkgbase = linux-cachyos-bore md5sums = b61fd5f488e44208fc97bfa6a274aebb md5sums = d4c38ce51fb9a69aa92ad9b9e0199122 md5sums = a687c26c262ccb9ad7cb54697a1476bc - md5sums = 55bb44747ae64b05640e6452113877c2 + md5sums = 8ef0e994f61bcd8d2188588f42805005 md5sums = 80920e501b9b87bfe587edff445e6efe md5sums = f574f1c40fa2d07602e77418b863e144 - md5sums = 2458d1c5d00d10709922e686c5d1e97f + md5sums = 28dcc1fe3029c6c316773bbcbe82954d md5sums = 2160aabf2b9798907d36c4d246937d71 md5sums = 12ad5085b7f01793980f137f2c9451cb md5sums = 167a4267269e6a709c54e7b9ea8bf8d5 md5sums = bf58290793d3a095ef95fb1fac2de89a md5sums = de6db1147385c058b2e94df3c1739fdf md5sums = cb9384ce179d08be6c90df6d0a0977a1 - md5sums = 972fa89ff4ad22631fca50af2305c049 md5sums = 258c33888c85d1ecc0bbdf59c3a92895 md5sums = 9956af4381a21744369bf81d76d3142d md5sums = 21c98f19e883879dd3336c1fa143fd31 -pkgname = linux-cachyos-bore - pkgdesc = The Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules +pkgname = linux-cachyos + pkgdesc = The Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules depends = coreutils depends = kmod depends = initramfs @@ -89,7 +87,7 @@ pkgname = linux-cachyos-bore provides = VIRTUALBOX-GUEST-MODULES provides = WIREGUARD-MODULE -pkgname = linux-cachyos-bore-headers - pkgdesc = Headers and scripts for building modules for the Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements - depends = linux-cachyos-bore=5.16.0 +pkgname = linux-cachyos-headers + pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements + depends = linux-cachyos=5.16.0 depends = pahole diff --git a/PKGBUILD b/PKGBUILD old mode 100644 new mode 100755 index 3d57e70..df3866a --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ # 'bore' - select 'Burst-Oriented Response Enhancer' # 'tt' - select 'Task Type Scheduler by Hamad Marri' # 'cfs' - select 'Completely Fair Scheduler' -_cpusched='bore' +_cpusched='cfs' ### BUILD OPTIONS # Set these variables to ANYTHING that is not null to enable them @@ -117,9 +117,9 @@ _use_cfi= if [ -n "$_use_llvm_lto" ]; then - pkgbase=linux-cachyos-bore-lto + pkgbase=linux-cachyos-lto else - pkgbase=linux-cachyos-bore + pkgbase=linux-cachyos fi _major=5.16 _minor=0 @@ -132,7 +132,7 @@ _stablerc=${_major}-${_rcver} _srcname=linux-${_stable} #_srcname=linux-${_major} arch=(x86_64 x86_64_v3) -pkgdesc='Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements' +pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements' pkgrel=2 arch=('x86_64' 'x86_64_v3') url="https://github.com/CachyOS/linux-cachyos" @@ -152,13 +152,14 @@ source=( "config" # "${_patchsource}/sched/0001-pjrc.patch" ## not released for 5.16 right now # "${_patchsource}/sched/0001-cacULE-5.16-full.patch" - "${_patchsource}/sched/0001-bore-sched.patch" + # "${_patchsource}/sched/0001-bore-sched.patch" # "${_patchsource}/sched/0001-tt.patch" "${_patchsource}/0001-MG-LRU-v6.patch" - "${_patchsource}/0001-blk-patches.patch" + "${_patchsource}/0001-amd64-patches.patch" "${_patchsource}/0001-sched-perf-fix.patch" "${_patchsource}/0001-block-patches.patch" - "${_patchsource}/0001-amdpstate.patch" + "${_patchsource}/0001-blk-patches.patch" + "${_patchsource}/0001-pm.patch" "${_patchsource}/0001-anbox.patch" "${_patchsource}/0001-bbr2-patches.patch" "${_patchsource}/0001-btrfs.patch" @@ -166,17 +167,16 @@ source=( "${_patchsource}/0001-cfi.patch" "${_patchsource}/0001-cpu.patch" "${_patchsource}/0001-clearlinux.patch" - "${_patchsource}/0001-f2fs-patches.patch" + "${_patchsource}/0001-f2fs-xfs-ext4-patches.patch" "${_patchsource}/0001-misc.patch" "${_patchsource}/0001-fixes.patch" - "${_patchsource}/0001-futex.patch" + "${_patchsource}/0001-futex-winesync.patch" "${_patchsource}/0001-hwmon.patch" "${_patchsource}/0001-ksmbd.patch" "${_patchsource}/0001-rcu.patch" "${_patchsource}/0001-zstd-patches.patch" "${_patchsource}/0001-zen-patches.patch" "${_patchsource}/0001-v4l2loopback.patch" - "${_patchsource}/misc/0007-v5.16-winesync.patch" "${_patchsource}/next/0002-mm-next.patch" "${_patchsource}/next/0003-folio-io.patch" "auto-cpu-optimization.sh" @@ -549,85 +549,98 @@ _package() { 'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig') provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE) - cd $_srcname + local kernver="$(