Files
Xiangzhe 1f01374e3b sys-kernel/cachyos-sources: add 7.3.3, drop 7.3.1
- 7.3.3: the pinned BORE patch already guards update_protect_slice()
  with CONFIG_SCHED_BORE, so the local backport
  cachyos-sources-7.3.1-bore-update-protect-slice.patch is gone; the
  tarball already carries upstream 962bee17 (rust: Allow BTF generation
  with Rust + LTO).
- Wire LTO builds to the new dev-util/pahole-cachyos: RDEPEND keeps the
  official dev-util/pahole for llvm-lto-none and depends on
  pahole-cachyos for every LTO flavor (the rust? gating folds away).
  New files/cachyos-sources-pahole-cachyos.patch sets
  PAHOLE ?= /usr/libexec/pahole-cachyos/bin/pahole in the top-level
  Makefile: an externally supplied PAHOLE always wins, external modules
  built against /usr/src/linux-* resolve the same binary, and removing
  the package silently disables BTF instead of failing the build.
- Downstream USE rust stays on by default to match the upstream config;
  turning it off drops the Rust kernel toolchain deps.
- Older cachyos-sources revisions (6.18.x, 7.2.x) keep the plain
  dev-util/pahole dependency: they never enable RUST with LTO.

Signed-off-by: Xiangzhe <xiangzhedev@gmail.com>
2026-11-07 21:20:45 +08:00

91 lines
5.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Xiangzhe</name>
<email>xiangzhedev@gmail.com</email>
</maintainer>
<use>
<!-- CPU schedulers -->
<flag name="bore">CachyOS BORE scheduler, optimized for desktop responsiveness</flag>
<flag name="bmq">Project C BMQ scheduler</flag>
<flag name="bmq-lfbmq">Project C BMQ scheduler with the lock-free bitmap queue runqueue variant</flag>
<flag name="pds">Project C Priority and Deadline based Skip list scheduler</flag>
<flag name="muqss">MuQSS CPU scheduler from standalone CK patches on 7.3 and CachyOS patches on older kernels</flag>
<flag name="rt">Select PREEMPT_RT and apply the RT i915 patch where supported</flag>
<flag name="rt-bore">BORE scheduler with PREEMPT_RT</flag>
<flag name="eevdf">Linux EEVDF scheduler; includes the CachyOS POC idle CPU selector on mainline kernels</flag>
<flag name="server">Disable CONFIG_CACHY kernel tweaks; scheduler and tuning options remain independently selectable</flag>
<flag name="cachyos-hardened">CachyOS hardened configuration and patches with the BORE scheduler</flag>
<!-- Hardware-specific patches -->
<flag name="deckify">Apply the CachyOS handheld configuration and patches with the BORE scheduler</flag>
<flag name="aufs">Enable the AUFS union filesystem as a module</flag>
<!-- CJK framebuffer console -->
<flag name="cjk">Apply cjktty support for CJK text on the framebuffer console</flag>
<flag name="cjk32">Include the 8 MiB 32x32 CJK font data for high-resolution framebuffer consoles</flag>
<!-- Security features -->
<flag name="kcfi">Enable Clang Kernel Control Flow Integrity</flag>
<flag name="rust">Enable Rust support (CONFIG_RUST) and the DRM panic QR code screen; requires the Rust kernel toolchain</flag>
<!-- Optimization features -->
<flag name="autofdo">Enable Clang AutoFDO support for profile-guided optimization</flag>
<flag name="propeller">Enable Clang Propeller support for basic-block reordering</flag>
<flag name="llvm-lto-thin">Enable LLVM ThinLTO</flag>
<flag name="llvm-lto-full">Enable LLVM full LTO</flag>
<flag name="llvm-lto-thin-dist">Enable distributed LLVM ThinLTO</flag>
<flag name="llvm-lto-none">Disable LLVM LTO</flag>
<!-- ZFS support -->
<flag name="kernel-builtin-zfs">Install pinned ZFS sources and a build helper in the kernel source tree</flag>
<!-- Timer frequency -->
<flag name="hz-ticks-100">Set the kernel timer frequency to 100 Hz</flag>
<flag name="hz-ticks-250">Set the kernel timer frequency to 250 Hz</flag>
<flag name="hz-ticks-300">Set the kernel timer frequency to 300 Hz</flag>
<flag name="hz-ticks-500">Set the kernel timer frequency to 500 Hz</flag>
<flag name="hz-ticks-600">Set the kernel timer frequency to 600 Hz</flag>
<flag name="hz-ticks-750">Set the kernel timer frequency to 750 Hz</flag>
<flag name="hz-ticks-1000">Set the kernel timer frequency to 1000 Hz</flag>
<!-- Governor and tick mode -->
<flag name="per-gov">Use the performance CPU frequency governor by default</flag>
<flag name="tickrate-periodic">Use periodic kernel ticks</flag>
<flag name="tickrate-idle">Use idle tickless mode</flag>
<flag name="tickrate-full">Use full tickless mode</flag>
<!-- Preemption models -->
<flag name="preempt-full">Use the full preemption model</flag>
<flag name="preempt-lazy">Use the lazy preemption model</flag>
<!-- Compiler optimization levels -->
<flag name="o3">Optimize the kernel with -O3</flag>
<flag name="os">Optimize the kernel for size</flag>
<flag name="debug">Use the CachyOS debug-oriented configuration profile</flag>
<!-- Network and memory -->
<flag name="bbr3">Use TCP BBR3 and the FQ packet scheduler by default</flag>
<flag name="hugepage-always">Force transparent huge pages to always. On server-capable versions, disabling both hugepage flags uses madvise with server and always otherwise.</flag>
<flag name="hugepage-madvise">Force transparent huge pages to madvise. On server-capable versions, disabling both hugepage flags uses madvise with server and always otherwise.</flag>
<!-- CPU-specific optimizations -->
<flag name="mgeneric">Use the generic x86-64 CPU target</flag>
<flag name="mgeneric-v1">Use the x86-64-v1 CPU target</flag>
<flag name="mgeneric-v2">Use the x86-64-v2 CPU target</flag>
<flag name="mgeneric-v3">Use the x86-64-v3 CPU target</flag>
<flag name="mgeneric-v4">Use the x86-64-v4 CPU target</flag>
<flag name="mnative">Use compiler CPU autodetection for the build host</flag>
<flag name="mzen4">Use the AMD Zen 4 CPU target</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
<remote-id type="github">CachyOS/linux-cachyos</remote-id>
<remote-id type="github">CachyOS/linux</remote-id>
<remote-id type="github">CachyOS/kernel-patches</remote-id>
<remote-id type="github">gentoo-zh/cjktty-patches</remote-id>
<bugs-to>https://github.com/CachyOS/linux-cachyos/issues</bugs-to>
</upstream>
</pkgmetadata>