From 8128254ab29a99904792f022bf1a518c8dac77d7 Mon Sep 17 00:00:00 2001 From: "P. Jung" Date: Tue, 14 Dec 2021 16:49:31 +0000 Subject: [PATCH] 5.15.8-1 --- .SRCINFO | 14 +++++++------- PKGBUILD | 29 +++++++++++++++-------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index cc772c2..9ea6499 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = linux-cachyos pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements - pkgver = 5.15.7 - pkgrel = 2 + pkgver = 5.15.8 + pkgrel = 1 url = https://github.com/CachyOS/linux-cachyos arch = x86_64 arch = x86_64_v3 @@ -19,7 +19,7 @@ pkgbase = linux-cachyos makedepends = tar makedepends = xz options = !strip - source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.7.tar.xz + source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.8.tar.xz source = config source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-arch-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-CLUSTER.patch @@ -28,6 +28,7 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-page-table-check.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitmap.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patch @@ -40,7 +41,6 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex-wait.v-fsync-winesync.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-damon.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-pf-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch @@ -51,7 +51,7 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-xfs-backport.patch source = auto-cpu-optimization.sh - md5sums = b79700122766ccf561f032eb3c8da27e + md5sums = 5b04a1db6305c993d7f55db334a2b415 md5sums = d97e86d9464dd34683f67de4d4a595c0 md5sums = 2627c6fcd9760b0e7a3553500db0a7e1 md5sums = df0a0c51baecdbd369694c9f10715cb4 @@ -60,6 +60,7 @@ pkgbase = linux-cachyos md5sums = 4866d66f4cc1b10cccb520c22cbc71d7 md5sums = 53f037488a66667220c263f92ded333d md5sums = 2a8097ba46be56fbbe3967e9c34c9a0b + md5sums = 152706f6ebbe9917c6a5955cd5447344 md5sums = e708f2160dee1ef5c7dffb8a23c199d7 md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7 md5sums = 67764a5824b567b49bcce19c01d4e1b3 @@ -72,7 +73,6 @@ pkgbase = linux-cachyos md5sums = 8c354c3d1962ec6785db7f0c3fbbab03 md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8a md5sums = c6efda5716e4ff79ebdbc963bebd851a - md5sums = 408dfabb34f2b79aa2f5044b052703db md5sums = 08c84362cb916b30d9c77e35b1b3bc54 md5sums = 56fdf3562b041c0408d9751b7e447977 md5sums = b09b84168822521426f197610727618b @@ -97,5 +97,5 @@ pkgname = linux-cachyos 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.15.7 + depends = linux-cachyos=5.15.8 depends = pahole diff --git a/PKGBUILD b/PKGBUILD index 80e19b2..ed81a59 100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -70,6 +70,8 @@ _lru_enable=y ### Enable DAMON _damon= +_use_page_check=y + ### Enable Linux Random Number Generator _lrng_enable=y @@ -122,13 +124,13 @@ else pkgbase=linux-cachyos fi _major=5.15 -_minor=7 +_minor=8 pkgver=${_major}.${_minor} _srcname=linux-${pkgver} arch=(x86_64 x86_64_v3) pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements' _srcname=linux-${pkgver} -pkgrel=2 +pkgrel=1 arch=('x86_64' 'x86_64_v3') url="https://github.com/CachyOS/linux-cachyos" license=('GPL2') @@ -149,6 +151,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz" "${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch" "${_patchsource}/AMD/0001-amd64-patches.patch" "${_patchsource}/0001-bbr2.patch" + "${_patchsource}/0001-page-table-check.patch" "${_patchsource}/0001-bitmap.patch" "${_patchsource}/0001-block-patches.patch" "${_patchsource}/0001-cpu-patches.patch" @@ -161,7 +164,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz" "${_patchsource}/0001-futex-wait.v-fsync-winesync.patch" "${_patchsource}/0001-hwmon-patches.patch" "${_patchsource}/0001-ksmbd-patches.patch" - "${_patchsource}/0001-damon.patch" +# "${_patchsource}/0001-damon-patches.patch" "${_patchsource}/0001-pf-patches.patch" "${_patchsource}/0001-lqx-patches.patch" "${_patchsource}/0001-lrng-patches.patch" @@ -252,15 +255,6 @@ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then cpu_arch fi - - ### Optionally set tickrate to 2000HZ - if [ -n "$_2k_HZ_ticks" ]; then - echo "Setting tick rate to 2k..." - scripts/config --disable CONFIG_HZ_300 - scripts/config --enable CONFIG_HZ_2000 - scripts/config --set-val CONFIG_HZ 2000 - fi - ### Optionally set tickrate to 1000 if [ -n "$_1k_HZ_ticks" ]; then echo "Setting tick rate to 1k..." @@ -411,6 +405,13 @@ if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then scripts/config --disable CONFIG_LTO_NONE fi + if [ -n "$_use_page_check" ]; then + echo "Enable Page Table Check" + scripts/config --enable ARCH_SUPPORTS_PAGE_TABLE_CHECK + scripts/config --enable CONFIG_PAGE_TABLE_CHECK + scripts/config --enable CONFIG_PAGE_TABLE_CHECK_ENFORCED + fi + ### Selecting the ZSTD compression level if [ "$_zstd_level" = "ultra" ]; then echo "Enabling highest ZSTD compression ratio..." @@ -639,7 +640,7 @@ for _p in "${pkgname[@]}"; do }" done -md5sums=('b79700122766ccf561f032eb3c8da27e' +md5sums=('5b04a1db6305c993d7f55db334a2b415' 'd97e86d9464dd34683f67de4d4a595c0' '2627c6fcd9760b0e7a3553500db0a7e1' 'df0a0c51baecdbd369694c9f10715cb4' @@ -648,6 +649,7 @@ md5sums=('b79700122766ccf561f032eb3c8da27e' '4866d66f4cc1b10cccb520c22cbc71d7' '53f037488a66667220c263f92ded333d' '2a8097ba46be56fbbe3967e9c34c9a0b' + '152706f6ebbe9917c6a5955cd5447344' 'e708f2160dee1ef5c7dffb8a23c199d7' '56ceaed8bfb44eca93298ccc5fe11ca7' '67764a5824b567b49bcce19c01d4e1b3' @@ -660,7 +662,6 @@ md5sums=('b79700122766ccf561f032eb3c8da27e' '8c354c3d1962ec6785db7f0c3fbbab03' '9b6369bc4c58ad0d9195b5c204ed4b8a' 'c6efda5716e4ff79ebdbc963bebd851a' - '408dfabb34f2b79aa2f5044b052703db' '08c84362cb916b30d9c77e35b1b3bc54' '56fdf3562b041c0408d9751b7e447977' 'b09b84168822521426f197610727618b'