Skip to content

Commit d9b3cd7

Browse files
authored
7.1.0-1 (#879)
Signed-off-by: Peter Jung <admin@ptr1337.dev>
1 parent 68925a2 commit d9b3cd7

28 files changed

Lines changed: 708 additions & 1006 deletions

File tree

README.md

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
## Overview
2929

30-
CachyOS provides a collection of enhanced Linux kernels designed for improved performance across different workloads. Kernels are built from the [CachyOS Linux](https://github.com/CachyOS/linux) fork (currently based on **Linux 7.0**), which merges topic branches on top of upstream stable releases.
30+
CachyOS provides a collection of enhanced Linux kernels designed for improved performance across different workloads. Kernels are built from the [CachyOS Linux](https://github.com/CachyOS/linux) fork (currently based on **Linux 7.1**), which merges topic branches on top of upstream stable releases.
3131

3232
Our kernels feature multiple CPU schedulers, advanced compiler optimizations, and carefully selected patches to deliver better responsiveness and throughput.
3333

@@ -65,29 +65,33 @@ Each scheduler is optimized for different use cases. We recommend testing each o
6565
6666
## Features
6767

68-
The CachyOS kernel fork merges topic branches into each release. The current **Linux 7.0** base includes the following integrated branches and enhancements.
68+
The CachyOS kernel fork merges topic branches into each release. The current **Linux 7.1** base integrates fifteen topic branches (`amd-isp4`, `bbr3`, `cachy`, `cgroup-vram`, `drm-fair`, `fixes`, `hdmi`, `lenovo-wmi`, `mglru`, `preempt-ipi`, `sched-cluster`, `snd-codecs`, `t2`, `vesa-dsc-bpp`, and `vmalloc-free`) on top of upstream stable.
6969

7070
### Performance Optimizations
7171

7272
- **Advanced Compilation**: Highly customizable PKGBUILD with support for both GCC and Clang compilers
73-
- **Link Time Optimization (LTO)**: Clang Thin LTO enabled by default on the main `linux-cachyos` package
73+
- **Link Time Optimization (LTO)**: Clang Thin LTO (v12) enabled by default on the main `linux-cachyos` package
7474
- **Distributed ThinLTO**: Support for distributed Clang ThinLTO builds to speed up kernel compilation
7575
- **Profile-Guided Optimization**: AutoFDO + Propeller profiling on the default kernel for optimal code generation ([Learn more](https://cachyos.org/blog/2411-kernel-autofdo/))
7676
- **Kernel Control Flow Integrity (kCFI)**: Available when using LLVM for enhanced security
7777
- **Timer Frequency Options**: Configurable between 100Hz, 250Hz, 300Hz, 500Hz, 600Hz, 750Hz, and 1000Hz (default: 1000Hz)
7878
- **Architecture Optimizations**: Support for x86-64-v3, x86-64-v4, and AMD Zen4 specific builds
7979
- **Compiler Optimizations**: Advanced GCC flags including `-fivopts` and `-fmodulo-sched`
8080
- **PREEMPT_DYNAMIC**: Runtime-selectable preemption modes (full, lazy, voluntary, none)
81+
- **vmalloc Optimizations**: Bulk page freeing in `vfree()`, improved `vrealloc()` shrink/grow paths, and optimized contiguous range freeing
8182

8283
### CPU Enhancements
8384

8485
- **Multiple Schedulers**: BORE, EEVDF, and BMQ schedulers for different workload optimization
85-
- **[POC Selector](https://github.com/masahitoS/scx_cake)**: Piece-Of-Cake fast idle CPU selector inspired by scx_cake, reducing wakeup latency
86+
- **[POC Selector](https://github.com/masahitoS/scx_cake) v2.6.2**: Piece-Of-Cake fast idle CPU selector inspired by scx_cake, reducing wakeup latency
87+
- **Cluster-Aware Scheduling**: Improved load balancing for CPU clusters, including balancing between CPUs of identical capacity on hybrid architectures
88+
- **Preempt-IPI Optimizations**: Lower-latency SMP/IPI paths with preemption re-enabled before TLB flushes and streamlined `smp_call_function()` handling
8689
- **CachyOS Sauce**: Custom `CONFIG_CACHY` configuration with scheduler and system tweaks
8790
- **AMD P-State Enhancements**: Preferred Core support and latest amd-pstate improvements from linux-next
8891
- **Real-Time Support**: RT kernel builds available with BORE scheduler integration
8992
- **Low-Latency Optimizations**: Patches for improved responsiveness and reduced jitter
9093
- **sched/wait LIFO accept()**: Socket accept() processed in LIFO order for better cache efficiency
94+
- **Wakeup CPU Affinity**: Prefer the previous CPU for task wakeups to improve cache locality
9195

9296
### Networking
9397

@@ -97,27 +101,29 @@ The CachyOS kernel fork merges topic branches into each release. The current **L
97101

98102
- **ZFS Support**: Built-in ZFS filesystem support with pre-compiled modules
99103
- **NTFS Improvements**: Upstream NTFS driver fixes for MFT mirror validation, attribute bounds checking, and logfile handling
100-
- **MGLRU Enhancements**: Improved dirty writeback handling, simplified vmscan reclaim statistics, and Cachy Sauce MM tuning (LRU-gen working set protection, compaction/watermark tweaks, hugepage reclaim)
104+
- **MGLRU Enhancements**: Unified writeback reclaim statistics, simplified vmscan accounting, improved dirty writeback reactivation, and Cachy Sauce MM tuning (LRU-gen working set protection, compaction/watermark tweaks, hugepage reclaim)
105+
- **Transparent Hugepages**: `ADVISE` mode for shmem/tmpfs transparent hugepages
101106
- **NVIDIA Integration**:
102107
- Proprietary NVIDIA driver modules with patches
103108
- Open-source NVIDIA driver support
104109
- Ready-to-use modules in repository
105110
- **I/O Scheduler Improvements**:
106111
- Enhanced BFQ and mq-deadline performance
107112
- [ADIOS](https://github.com/firelzrd/adios) v3.2.0 multi-queue I/O scheduler support
108-
- **VRAM Cgroup (DMEM)**: Device memory controller for restricting GPU VRAM usage per cgroup in the DRM subsystem
113+
- **VRAM Cgroup (DMEM)**: Device memory controller for restricting GPU VRAM usage per cgroup, with protection limits, common-ancestor pool sharing, and Nouveau DMEM support
109114

110115
### Additional Features
111116

112117
#### Hardware Support
113-
- **AMD ISP4**: New AMD ISP 4 camera driver for supported platforms
114-
- **Gaming Hardware**: Steam Deck patches (Audio, HW Quirks, HID), ROG Ally support, and MSI Claw HID driver (deckify)
118+
- **AMD ISP4**: AMD ISP 4 camera driver for supported platforms
119+
- **Gaming Hardware**: Steam Deck patches (Audio, HW Quirks, HID), ROG Ally support, MSI Claw HID driver (deckify), and EasySMX 05 Pro gamepad support
115120
- **Apple Hardware**: T2 MacBook support with apple-bce driver in staging
116-
- **ASUS Hardware**: Extended ASUS hardware compatibility patches
117-
- **Lenovo Hardware**: WMI battery charge limiting, GPU/CPU tunable attributes, and capdata debugfs
118-
- **HP Hardware**: OMEN Slim and OMEN MAX laptop support via hp-wmi
119-
- **Graphics**: HDR support enabled, AMDGPU min_powercap override (`amdgpu_ignore_min_pcap`)
120-
- **Display**: HDMI VRR on AMD, ALLM and passive VRR connector properties, VESA DSC bits-per-pixel parsing from EDID
121+
- **ASUS Hardware**: Extended ASUS hardware compatibility patches, including ACP audio fixes for Vivobook 18 and TUF Gaming A14 (2026)
122+
- **Lenovo Hardware**: WMI battery charge limiting, GPU/CPU tunable attributes, capdata debugfs, and AMD PMC suspend delay for improved sleep/resume
123+
- **HP Hardware**: OMEN Slim (including 16t-an000) and OMEN MAX laptop support via hp-wmi
124+
- **Samsung Hardware**: Galaxy Book 4/5 series audio fixes via MAX98390 HDA codec support
125+
- **Graphics**: HDR support enabled, AMDGPU min_powercap override (`amdgpu_ignore_min_pcap`), and DRM fair GPU scheduling favoring interactive clients
126+
- **Display**: HDMI VRR on AMD (including PCON path and freesync-on-desktop), ALLM and passive VRR connector properties, VESA DSC bits-per-pixel parsing from EDID
121127
- **Audio Codecs**: AW88399 and MAX98390 HDA side codec support
122128

123129
#### System Enhancements

linux-cachyos-bmq/.SRCINFO

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pkgbase = linux-cachyos-bmq
22
pkgdesc = Linux BMQ + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements
3-
pkgver = 7.0.12
3+
pkgver = 7.1.0
44
pkgrel = 1
55
url = https://github.com/CachyOS/linux-cachyos
66
arch = x86_64
@@ -27,16 +27,16 @@ pkgbase = linux-cachyos-bmq
2727
options = !strip
2828
options = !debug
2929
options = !lto
30-
source = https://github.com/CachyOS/linux/releases/download/cachyos-7.0.12-2/cachyos-7.0.12-2.tar.gz
31-
source = https://github.com/CachyOS/linux/releases/download/cachyos-7.0.12-2/cachyos-7.0.12-2.tar.gz.asc
30+
source = https://github.com/CachyOS/linux/releases/download/cachyos-7.1.0-1/cachyos-7.1.0-1.tar.gz
31+
source = https://github.com/CachyOS/linux/releases/download/cachyos-7.1.0-1/cachyos-7.1.0-1.tar.gz.asc
3232
source = config
33-
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/7.0/sched/0001-prjc-cachy.patch
33+
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/7.1/sched/0001-prjc-cachy.patch
3434
validpgpkeys = E18447AC260021D31F3FF6C4C8A2A4774B8B63C4
3535
validpgpkeys = E8B9AA39F054E30E8290D492C3C4820857F654FE
36-
b2sums = 2dbc9e0b4fd361ea2622d134ceb25e540ce8385a401a73e28a911192ff847e061800d9b791dd409cd6d1794026f950963d7df501d5b8d73b2f197d12807b66fd
36+
b2sums = 652178167b7d164d8b503fea25d68be3b4c24d28fcec6454656303132ef2f21e38f5e5b7af5d286c619344577bc6227389f4bd750a0e882ce7352ca7adb4f4ac
3737
b2sums = SKIP
38-
b2sums = 7bb5113dbc67e8e2ce5c5473ae1b08973af5adba0a6a14c64a213bb116e5a172d40b7c274b85ad15553511484ee1f120e0372251e242c6f87ce6920235f0c136
39-
b2sums = 8188b406df9f65ab253b44db9822c20a3215d1a1b00cb8520f343a687cfa70e31c4ad233a608fe07acf4c1e5d757fd954ada7d9cf17517dbea22f68ecc8abb11
38+
b2sums = 6bea8dff89f6d03ee5e7c6b76934e4ffaa3511cebd9c8f9986bf6c11816dcbd88f55c9c686fca6f176c35746f3fa7fc3c286218144d38289ec6f2079f5ce8b42
39+
b2sums = c4784cbbedf9ede11533d9e1675ab42831e4e8b006dce1eec81fdd3de0eb04e2aeed13d93273f5c3c15f7e8e0fe538831d0c38e05196af1a7fb92d4ce99010fe
4040

4141
pkgname = linux-cachyos-bmq
4242
pkgdesc = The Linux BMQ + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements kernel and modules

linux-cachyos-bmq/PKGBUILD

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ else
149149
fi
150150

151151
pkgbase="linux-$_pkgsuffix"
152-
_major=7.0
153-
_minor=12
152+
_major=7.1
153+
_minor=0
154154
#_minorc=$((_minor+1))
155155
#_rcver=rc8
156156
pkgver=${_major}.${_minor}
157-
_tagrel=2
157+
_tagrel=1
158158
pkgrel=1
159159
_srcname=cachyos-${_major}.${_minor}-${_tagrel}
160160
pkgdesc='Linux BMQ + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements'
@@ -219,7 +219,7 @@ fi
219219
# ZFS support
220220
if [ "$_build_zfs" = "yes" ]; then
221221
makedepends+=(git)
222-
source+=("git+https://github.com/cachyos/zfs.git#commit=6330a45b06d20125de679aae5f63ba14082671ef")
222+
source+=("git+https://github.com/cachyos/zfs.git#commit=c681af76c5a6a15caada25eb13090e41218c7831")
223223
fi
224224

225225

@@ -746,7 +746,7 @@ for _p in "${pkgname[@]}"; do
746746
}"
747747
done
748748

749-
b2sums=('2dbc9e0b4fd361ea2622d134ceb25e540ce8385a401a73e28a911192ff847e061800d9b791dd409cd6d1794026f950963d7df501d5b8d73b2f197d12807b66fd'
749+
b2sums=('652178167b7d164d8b503fea25d68be3b4c24d28fcec6454656303132ef2f21e38f5e5b7af5d286c619344577bc6227389f4bd750a0e882ce7352ca7adb4f4ac'
750750
'SKIP'
751-
'7bb5113dbc67e8e2ce5c5473ae1b08973af5adba0a6a14c64a213bb116e5a172d40b7c274b85ad15553511484ee1f120e0372251e242c6f87ce6920235f0c136'
752-
'8188b406df9f65ab253b44db9822c20a3215d1a1b00cb8520f343a687cfa70e31c4ad233a608fe07acf4c1e5d757fd954ada7d9cf17517dbea22f68ecc8abb11')
751+
'6bea8dff89f6d03ee5e7c6b76934e4ffaa3511cebd9c8f9986bf6c11816dcbd88f55c9c686fca6f176c35746f3fa7fc3c286218144d38289ec6f2079f5ce8b42'
752+
'c4784cbbedf9ede11533d9e1675ab42831e4e8b006dce1eec81fdd3de0eb04e2aeed13d93273f5c3c15f7e8e0fe538831d0c38e05196af1a7fb92d4ce99010fe')

0 commit comments

Comments
 (0)