sys-kernel/cachyos-kernel (CachyOS-kernels)

Search

Notice: This package is in a virtual group: virtual/dist-kernel, virtual/linux-sources
Equivalents: sys-kernel/cachyos-kernel-bin, sys-kernel/asahi-sources, sys-kernel/cachyos-sources, sys-kernel/gentoo-kernel, sys-kernel/gentoo-kernel-bin, sys-kernel/gentoo-kernel-modprep, sys-kernel/gentoo-sources, sys-kernel/git-sources, sys-kernel/linux-firmware, sys-kernel/linux-next, sys-kernel/mips-sources, sys-kernel/pf-sources, sys-kernel/raspberrypi-sources, sys-kernel/rt-sources, sys-kernel/vanilla-kernel, sys-kernel/vanilla-sources, sys-kernel/zen-sources

Install

Install this package:

emerge -a sys-kernel/cachyos-kernel

Package Information

Description:
Linux kernel built with CachyOS patches (BORE, LTO, AutoFDO, BBR3 and more)
Homepage:
https://github.com/CachyOS/linux-cachyos https://github.com/Szowisz/CachyOS-kernels
License:
GPL-3

Versions

Version EAPI Keywords Slot
7.2.9 8 ~amd64
7.2.8 8 ~amd64
7.2.7 8 ~amd64
7.2.6 8 ~amd64
6.18.55 8 ~amd64
6.18.52 8 ~amd64
6.18.50 8 ~amd64

Metadata

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>szowisz.gentoo@gmail.com</email>
		<name>Jakub Wroński</name>
	</maintainer>
	<maintainer type="person">
		<email>xz@xzos.net</email>
		<name>xz-dev</name>
	</maintainer>
	<use>
		<flag name="bore">CachyOS Scheduler (BORE - Burst-Oriented Response Enhancer), optimized for desktop responsiveness</flag>
		<flag name="bmq">Project C BMQ (BitMap Queue) scheduler, alternative CPU scheduler with different performance characteristics</flag>
		<flag name="pds">Project C Priority and Deadline based Skip list scheduler</flag>
		<flag name="bmq-lfbmq">PRJC BMQ scheduler with the LFBMQ (lock-free bitmap queue) runqueue variant from kernel-patches</flag>
		<flag name="rt">EEVDF scheduler with realtime patches for low-latency applications</flag>
		<flag name="rt-bore">BORE scheduler with realtime patches for low-latency applications</flag>
		<flag name="eevdf">Linux EEVDF scheduler with the CachyOS POC idle CPU selector</flag>
		<flag name="muqss">MuQSS scheduler patchset carried in CachyOS kernel-patches</flag>
		<flag name="server">Disable CONFIG_CACHY kernel tweaks; scheduler and tuning options remain independently selectable</flag>
		<flag name="deckify">Apply the upstream handheld and ACPI patchsets and enable Steam Deck, ASUS Ally, Lenovo Go, MSI Claw, and ZOTAC Zone support with the selected scheduler</flag>
		<flag name="aufs">Enable the AUFS union filesystem as a module</flag>
		<flag name="clang">Build the kernel using Clang/LLVM toolchain instead of GCC (required for LTO and KCFI)</flag>
		<flag name="cachyos-hardened">Enable the CachyOS hardened kernel variant and patchset</flag>
		<flag name="kcfi">Enable kCFI (Kernel Control Flow Integrity) for additional security protection (requires clang)</flag>
		<flag name="autofdo">Enable Clang AutoFDO (Automatic Feedback-Directed Optimization) support for profile-guided optimization</flag>
		<flag name="propeller">Enable Clang Propeller optimization (basic block reordering) for better performance</flag>
		<flag name="llvm-lto-thin">Enable LLVM thin LTO (Link Time Optimization) - uses multiple threads, faster compilation, less memory usage</flag>
		<flag name="llvm-lto-full">Enable LLVM full LTO - single threaded, slower compilation, more memory usage, potentially highest performance</flag>
		<flag name="llvm-lto-thin-dist">Enable LLVM thin LTO with distributed model rather than in-process linking</flag>
		<flag name="llvm-lto-none">Disable LLVM link-time optimization</flag>
		<flag name="kernel-builtin-zfs">Build ZFS module directly into the kernel (not recommended, use sys-fs/zfs-kmod instead)</flag>
		<flag name="hz_ticks_100">Set kernel timer frequency to 100 Hz (server/battery optimized)</flag>
		<flag name="hz_ticks_250">Set kernel timer frequency to 250 Hz (balanced)</flag>
		<flag name="hz_ticks_300">Set kernel timer frequency to 300 Hz</flag>
		<flag name="hz_ticks_500">Set kernel timer frequency to 500 Hz</flag>
		<flag name="hz_ticks_600">Set kernel timer frequency to 600 Hz</flag>
		<flag name="hz_ticks_750">Set kernel timer frequency to 750 Hz</flag>
		<flag name="hz_ticks_1000">Set kernel timer frequency to 1000 Hz (desktop optimized, default)</flag>
		<flag name="per-gov">Set CPU frequency performance governor as default instead of schedutil</flag>
		<flag name="tickrate_periodic">Use periodic ticks (traditional approach)</flag>
		<flag name="tickrate_idle">Use idle tickless mode (NO_HZ_IDLE)</flag>
		<flag name="tickrate_full">Use full tickless mode (NO_HZ_FULL) - can provide higher performance but lower consistency depending on hardware</flag>
		<flag name="preempt_full">Full preemption model for lowest latency (PREEMPT)</flag>
		<flag name="preempt_lazy">Lazy preemption model (PREEMPT_LAZY)</flag>
		<flag name="o3">Enable KBUILD_CFLAGS -O3 optimization for maximum performance</flag>
		<flag name="os">Optimize for size (-Os) instead of performance</flag>
		<flag name="debug">Enable debug-friendly optimizations and disable various debug features</flag>
		<flag name="bbr3">Enable TCP BBR3 (Bottleneck Bandwidth and RTT) congestion control algorithm as default</flag>
		<flag name="hugepage_always">Always enable Transparent Huge Pages for better memory performance</flag>
		<flag name="hugepage_madvise">Enable Transparent Huge Pages only when requested via madvise</flag>
		<flag name="mgeneric">Use generic x86-64 optimizations (default kernel optimizations, portable across machines)</flag>
		<flag name="mgeneric_v1">Use x86-64-v1 generic optimizations (baseline x86-64)</flag>
		<flag name="mgeneric_v2">Use x86-64-v2 generic optimizations (requires CMPXCHG16B, LAHF-SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3)</flag>
		<flag name="mgeneric_v3">Use x86-64-v3 generic optimizations (requires AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE)</flag>
		<flag name="mgeneric_v4">Use x86-64-v4 generic optimizations (requires AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL)</flag>
		<flag name="mnative">Use compiler native CPU autodetection optimizations (recommended for local builds, not portable)</flag>
		<flag name="mzen4">Use AMD Zen 4 specific optimizations (znver4) for AMD Ryzen 7000 series and newer</flag>
	</use>
	<upstream>
		<bugs-to>https://github.com/CachyOS/linux-cachyos/issues</bugs-to>
		<remote-id type="github">CachyOS/linux-cachyos</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p sys-kernel/cachyos-kernel | euse -E <flag> -p sys-kernel/cachyos-kernel | euse -D <flag> -p sys-kernel/cachyos-kernel

Flag Description 7.2.9 7.2.8 7.2.7 7.2.6 6.18.55 6.18.52 6.18.50
aufs Enable the AUFS union filesystem as a module ✓ ✓ ✓ ✓ ✗ ✗ ✗
autofdo Enable Clang AutoFDO (Automatic Feedback-Directed Optimization) support for profile-guided optimization ⊕ ⊕ ⊕ ⊕ ✓ ✓ ✓
bbr3 Enable TCP BBR3 (Bottleneck Bandwidth and RTT) congestion control algorithm as default ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
bmq Project C BMQ (BitMap Queue) scheduler, alternative CPU scheduler with different performance characteristics ✓ ✓ ✓ ✓ ✓ ✓ ✓
bore CachyOS Scheduler (BORE - Burst-Oriented Response Enhancer), optimized for desktop responsiveness ⊕ ⊕ ⊕ ⊕ ✓ ✓ ✓
cachyos-hardened Enable the CachyOS hardened kernel variant and patchset ✓ ✗ ✗ ✗ ✓ ✓ ✓
clang Build the kernel using Clang/LLVM toolchain instead of GCC (required for LTO and KCFI) ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
debug Enable debug-friendly optimizations and disable various debug features ✓ ✓ ✓ ✓ ✓ ✓ ✓
deckify Apply the upstream handheld and ACPI patchsets and enable Steam Deck, ASUS Ally, Lenovo Go, MSI Claw, and ZOTAC Zone support with the selected scheduler ✓ ✓ ✓ ✗ ✗ ✗ ✗
eevdf Linux EEVDF scheduler with the CachyOS POC idle CPU selector ✓ ✓ ✓ ✓ ⊕ ⊕ ⊕
hugepage_always Always enable Transparent Huge Pages for better memory performance ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
hugepage_madvise Enable Transparent Huge Pages only when requested via madvise ✓ ✓ ✓ ✓ ✓ ✓ ✓
hz_ticks_100 Set kernel timer frequency to 100 Hz (server/battery optimized) ✓ ✓ ✓ ✓ ✓ ✓ ✓
hz_ticks_1000 Set kernel timer frequency to 1000 Hz (desktop optimized, default) ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
hz_ticks_250 Set kernel timer frequency to 250 Hz (balanced) ✓ ✓ ✓ ✓ ✓ ✓ ✓
hz_ticks_300 Set kernel timer frequency to 300 Hz ✓ ✓ ✓ ✓ ✓ ✓ ✓
hz_ticks_500 Set kernel timer frequency to 500 Hz ✓ ✓ ✓ ✓ ✓ ✓ ✓
hz_ticks_600 Set kernel timer frequency to 600 Hz ✓ ✓ ✓ ✓ ✓ ✓ ✓
hz_ticks_750 Set kernel timer frequency to 750 Hz ✓ ✓ ✓ ✓ ✓ ✓ ✓
kcfi Enable kCFI (Kernel Control Flow Integrity) for additional security protection (requires clang) ✓ ✓ ✓ ✓ ✓ ✓ ✓
kernel-builtin-zfs Build ZFS module directly into the kernel (not recommended, use sys-fs/zfs-kmod instead) ✓ ✓ ✓ ✓ ✓ ✓ ✓
llvm-lto-full Enable LLVM full LTO - single threaded, slower compilation, more memory usage, potentially highest performance ✓ ✓ ✓ ✓ ✓ ✓ ✓
llvm-lto-none Disable LLVM link-time optimization ✓ ✓ ✓ ✓ ⊕ ⊕ ⊕
llvm-lto-thin Enable LLVM thin LTO (Link Time Optimization) - uses multiple threads, faster compilation, less memory usage ⊕ ⊕ ⊕ ⊕ ✓ ✓ ✓
llvm-lto-thin-dist Enable LLVM thin LTO with distributed model rather than in-process linking ✓ ✓ ✓ ✓ ✓ ✓ ✓
mgeneric Use generic x86-64 optimizations (default kernel optimizations, portable across machines) ✓ ✓ ✓ ✓ ✓ ✓ ✓
mgeneric_v1 Use x86-64-v1 generic optimizations (baseline x86-64) ✓ ✓ ✓ ✓ ✓ ✓ ✓
mgeneric_v2 Use x86-64-v2 generic optimizations (requires CMPXCHG16B, LAHF-SAHF, POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3) ✓ ✓ ✓ ✓ ✓ ✓ ✓
mgeneric_v3 Use x86-64-v3 generic optimizations (requires AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE) ✓ ✓ ✓ ✓ ✓ ✓ ✓
mgeneric_v4 Use x86-64-v4 generic optimizations (requires AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL) ✓ ✓ ✓ ✓ ✓ ✓ ✓
mnative Use compiler native CPU autodetection optimizations (recommended for local builds, not portable) ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
muqss MuQSS scheduler patchset carried in CachyOS kernel-patches ✓ ✓ ✓ ✓ ✗ ✗ ✗
mzen4 Use AMD Zen 4 specific optimizations (znver4) for AMD Ryzen 7000 series and newer ✓ ✓ ✓ ✓ ✓ ✓ ✓
o3 Enable KBUILD_CFLAGS -O3 optimization for maximum performance ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
os Optimize for size (-Os) instead of performance ✓ ✓ ✓ ✓ ✓ ✓ ✓
pds Project C Priority and Deadline based Skip list scheduler ✓ ✓ ✓ ✓ ✗ ✗ ✗
per-gov Set CPU frequency performance governor as default instead of schedutil ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
preempt_full Full preemption model for lowest latency (PREEMPT) ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
preempt_lazy Lazy preemption model (PREEMPT_LAZY) ✓ ✓ ✓ ✓ ✓ ✓ ✓
propeller Enable Clang Propeller optimization (basic block reordering) for better performance ⊕ ⊕ ⊕ ⊕ ✓ ✓ ✓
rt EEVDF scheduler with realtime patches for low-latency applications ✓ ✓ ✓ ✓ ✓ ✓ ✓
rt-bore BORE scheduler with realtime patches for low-latency applications ✓ ✓ ✓ ✓ ✓ ✓ ✓
server Disable CONFIG_CACHY kernel tweaks; scheduler and tuning options remain independently selectable ✓ ✓ ✓ ✓ ✗ ✗ ✗
tickrate_full Use full tickless mode (NO_HZ_FULL) - can provide higher performance but lower consistency depending on hardware ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕
tickrate_idle Use idle tickless mode (NO_HZ_IDLE) ✓ ✓ ✓ ✓ ✓ ✓ ✓
tickrate_periodic Use periodic ticks (traditional approach) ✓ ✓ ✓ ✓ ✓ ✓ ✓

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST cachyos-6.18.50-1.tar.gz 255648231 bytes
DIST cachyos-6.18.52-1.tar.gz 255776785 bytes
DIST cachyos-6.18.55-1.tar.gz 255880400 bytes
DIST cachyos-7.2.6-1.tar.gz 265778671 bytes
DIST cachyos-7.2.7-1.tar.gz 265802457 bytes
DIST cachyos-7.2.8-1.tar.gz 265866099 bytes
DIST cachyos-7.2.9-2.tar.gz 265898407 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-aufs.patch 1003019 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-handheld.patch 1492063 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-hardened.patch 109305 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-muqss.patch 680886 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-227a7d1a2a402274e3fd6455aacb101e5dec4ed2-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-aufs.patch 1001666 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-handheld.patch 1492063 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-muqss.patch 678061 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-99064837d235f63a1fcd12625258f82bcf94c059-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-acpi-call.patch 15975 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-aufs.patch 1001666 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-handheld.patch 1492063 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-muqss.patch 680886 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-a1bccf2f016523440bd3723a09ae9d3657f492ab-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-dkms-clang.patch 2012 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-hardened.patch 107754 bytes
DIST cachyos-kernel-patches-a8efcb97a509c3d36f839451dacb896ab48581c5-6.18-rt-i915.patch 13012 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-6.18-dkms-clang.patch 2012 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-6.18-rt-i915.patch 13012 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-7.2-aufs.patch 1001666 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-7.2-bore.patch 40750 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-7.2-dkms-clang.patch 1857 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-7.2-muqss.patch 678061 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-7.2-prjc.patch 481679 bytes
DIST cachyos-kernel-patches-d5db2a953637445998d2b0e5ab52ea9c04860a24-7.2-rt-i915.patch 13011 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-bore.patch 37020 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-hardened-sysctl.patch 698 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-hardened.patch 83429 bytes
DIST cachyos-kernels-127c70edf723c471e99963e2a61923e2025feeda-6.18.48-prjc.patch 311981 bytes
DIST genpatches-6.18-57.base.tar.xz 3710308 bytes
DIST genpatches-6.18-57.extras.tar.xz 2176 bytes
DIST genpatches-6.18-59.base.tar.xz 4383624 bytes
DIST genpatches-6.18-59.extras.tar.xz 2176 bytes
DIST genpatches-6.18-63.base.tar.xz 5063784 bytes
DIST genpatches-6.18-63.extras.tar.xz 2176 bytes
DIST genpatches-7.2-10.base.tar.xz 1607788 bytes
DIST genpatches-7.2-10.extras.tar.xz 2176 bytes
DIST genpatches-7.2-7.base.tar.xz 1067984 bytes
DIST genpatches-7.2-7.extras.tar.xz 2176 bytes
DIST genpatches-7.2-8.base.tar.xz 1316304 bytes
DIST genpatches-7.2-8.extras.tar.xz 2172 bytes
DIST linux-cachyos-7269746718b4352087c1418f67e71bbf45fe3184-config 293816 bytes
DIST linux-cachyos-bd534465e6b8a6fe4483b0ee2c28cbaf00a9b285-config 293816 bytes
DIST linux-cachyos-bd534465e6b8a6fe4483b0ee2c28cbaf00a9b285-deckify-config 294035 bytes
DIST linux-cachyos-c7d6ad1ead107761d354a12d6217ddf6840cb177-config 293816 bytes
DIST linux-cachyos-c7d6ad1ead107761d354a12d6217ddf6840cb177-deckify-config 294035 bytes
DIST linux-cachyos-ee39638ff003ef2def73671ec1677d48218e7c03-config 293816 bytes
DIST linux-cachyos-ee39638ff003ef2def73671ec1677d48218e7c03-deckify-config 294035 bytes
DIST linux-cachyos-hardened-b11ba14854d9748bdb3e3daf7a90e8d3a31004ec-config 287889 bytes
DIST linux-cachyos-lts-7269746718b4352087c1418f67e71bbf45fe3184-config 290653 bytes
DIST linux-cachyos-lts-ee39638ff003ef2def73671ec1677d48218e7c03-config 290653 bytes
DIST linux-cachyos-lts-fed1a01462a4a26a23acbb095ec6cd3b5c9df19c-config 290653 bytes
DIST zfs-71a9f9578616a90c3c14bb59629fb4d31bfd68d1.tar.gz 33808411 bytes