Skip to content

linux-flatten 7.1.0-rc2-1-flatten-g7eb85c33dd20

Latest

Choose a tag to compare

linux-flatten 7.1.0-rc2-1-flatten-g7eb85c33dd20

Universal x86-64 kernel — compatible with all x86-64 CPUs.

Features

  • sched/flat — flattened runqueue by Peter Zijlstra (from git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git, branch sched/flat)
  • GENERIC_CPU — works on all x86-64 processors (Intel, AMD, no vendor lock-in)
  • PREEMPT_LAZY — minimal latency task switching
  • HZ=1000 — high timer frequency for responsive desktop
  • TCP_CONG_BBR — modern TCP congestion control
  • THP MADVISE — safe transparent huge pages (not forced)
  • ZSTD module compression — fast module loading
  • MAXSMP — supports up to 8192 CPUs
  • No debug info — minimal size, no Clang/LTO

Installation (Arch Linux)

Download the .pkg.tar.zst from Assets below, then:

sudo pacman -U linux-flatten-*.pkg.tar.zst
sudo mkinitcpio -p linux-flatten
sudo reboot

Installation (other distros)

Extract and install manually:

tar xf linux-flatten-*.pkg.tar.zst -C /
# Copy kernel and initramfs to your boot partition
cp /usr/lib/modules/*/vmlinuz /boot/vmlinuz-linux-flatten
mkinitcpio -p linux-flatten   # or dracut --regenerate-all
# Add boot entry for your bootloader
sudo reboot

Verify

uname -r
# Should show: <version>-flatten

cat /proc/version
# Should show "flatten" in version string

# Verify sched/flat is active
cat /sys/kernel/debug/sched/features

Bootloaders

Limine: entry is added automatically on Arch Linux via install hook.

systemd-boot / GRUB: add entry manually:

linux /vmlinuz-linux-flatten root=UUID=<your-root-uuid> rw
initrd /initramfs-linux-flatten.img