From 38399200e3fc242e5f4099fb5ff9632090c6375c Mon Sep 17 00:00:00 2001 From: "P. Jung" Date: Wed, 22 Dec 2021 13:57:57 +0100 Subject: [PATCH] 5.15.11-2 --- .SRCINFO | 5 ++--- PKGBUILD | 7 ++----- config | 7 +++++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index e83e6060af21..1469396f1123 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.11 - pkgrel = 1 + pkgrel = 2 url = https://github.com/CachyOS/linux-cachyos arch = x86_64 arch = x86_64_v3 @@ -28,7 +28,6 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/amd-sched.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/misc/0010-ELF.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 source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-misc.patch @@ -42,6 +41,7 @@ pkgbase = linux-cachyos 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-pf-patches.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-lqx-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-v4l2loopback.patch @@ -51,7 +51,6 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-xanmod-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-net-patches.patch 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 = 7fcbea316f8439d092040996295c8f9d md5sums = b1674b6cc65f404efb6a5dd6bf46ec68 diff --git a/PKGBUILD b/PKGBUILD index a15ec33936ef..c7ad048c0a91 100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -133,7 +133,7 @@ _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=1 +pkgrel=2 arch=('x86_64' 'x86_64_v3') url="https://github.com/CachyOS/linux-cachyos" license=('GPL2') @@ -154,8 +154,6 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz" "${_patchsource}/AMD/amd-sched.patch" "${_patchsource}/AMD/0001-amd64-patches.patch" "${_patchsource}/0001-bbr2.patch" - "${_patchsource}/misc/0010-ELF.patch" - # "${_patchsource}/0001-bitmap.patch" "${_patchsource}/0001-block-patches.patch" "${_patchsource}/0001-cpu-patches.patch" "${_patchsource}/0001-misc.patch" @@ -168,8 +166,8 @@ 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-patches.patch" "${_patchsource}/0001-pf-patches.patch" + "${_patchsource}/0001-page-table-check.patch" "${_patchsource}/0001-lqx-patches.patch" "${_patchsource}/0001-lrng-patches.patch" "${_patchsource}/0001-v4l2loopback.patch" @@ -179,7 +177,6 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz" "${_patchsource}/0001-xanmod-patches.patch" "${_patchsource}/0001-net-patches.patch" "${_patchsource}/0001-zstd.patch" - "${_patchsource}/0001-xfs-backport.patch" "auto-cpu-optimization.sh" ) diff --git a/config b/config index 2606c0ab36d1..b31eb517add5 100755 --- a/config +++ b/config @@ -223,8 +223,8 @@ CONFIG_RD_LZO=y CONFIG_RD_LZ4=y CONFIG_RD_ZSTD=y CONFIG_BOOT_CONFIG=y -CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y -# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 is not set +CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y +# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_LD_ORPHAN_WARN=y CONFIG_SYSCTL=y @@ -1056,6 +1056,9 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y CONFIG_MEMORY_FAILURE=y CONFIG_HWPOISON_INJECT=m CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_PAGE_TABLE_CHECK=y +CONFIG_PAGE_TABLE_CHECK_ENFORCED=y +CONFIG_ARCH_SUPPORTS_PAGE_TABLE_CHECK=y # CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y CONFIG_ARCH_WANTS_THP_SWAP=y