Linux 6.0 Kernel: Key Changes and How to Check Your Version

Linux 6.0 was released on 2 October 2022. See its main changes, such as io_uring additions and runtime verification, and how to check your kernel with uname.

Kernel Published 3 min read

The Linux 6.0 kernel was released on Sunday, 2 October 2022. Its headline additions include a runtime verification system, several io_uring features, a new Btrfs send protocol and XFS scalability work. This article lists those changes and shows how to confirm which kernel you are running.

Is Linux 6.0 still supported?

Not as a longterm branch. The kernel.org releases page lists 6.18, 6.12, 6.6, 6.1, 5.15 and 5.10 as the longterm kernels, and 6.0 is not among them. That page does not state 6.0’s end-of-life status, so I make no claim about its final release. For how branches become longterm, see how the kernel release cycle works. For a later longterm kernel, see Linux 6.18: key changes and LTS status.

Key changes in the Linux 6.0 kernel

The Kernel Newbies page is very long. I read only its first part, which covers the prominent features, so this is a selection and not a full list. The page does not explain why the version number became 6.0.

  • io_uring. Asynchronous buffered writes (the page cites about 3x faster on XFS), a userspace block driver called ublk, a synchronous cancellation API, zero-copy network send and multishot recvmsg.
  • Runtime verification. A lightweight way to compare execution traces of a running system against a formal specification.
  • Btrfs send protocol v2. It is backward compatible and supports chunks larger than 64K, sending raw compressed extents, and sending inode creation times and file attributes.
  • XFS scalability. Less spinlock use and global synchronization in log handling, plus lockless buffer cache lookups, aimed at systems with many CPUs.
  • New perf tools. perf lock contention for BPF-based lock analysis and perf kwork for timing kernel work such as softirqs and workqueues.
  • BPF. Type match support, 64-bit enum values, sleepable uprobes and a new eBPF-based LSM flavor.
  • Scheduler. Better NUMA balancing on AMD Zen systems, improved handling of reduced-capacity CPUs, Energy Model refinements and improved core scheduling.
  • DAMON-based LRU sorting. A module that proactively sorts LRU lists using access monitoring, with a configurable CPU usage limit.
  • dma-buf sync files. Two ioctls to export and import a dma-buf’s implicit synchronization state, meant to help Vulkan and window systems such as X11 and Wayland.
  • Intel SGX2. Enclave Dynamic Memory Management, which allows changing enclave page permissions and types and adding or removing enclave pages.

I did not read the remaining sections on drivers, other file systems and architectures, so this article makes no claims about them. For a longterm kernel from a later cycle, see Linux 6.12: key changes and LTS status.

Check your running kernel

uname -r prints the release string of the kernel you booted.

✓ tested · debian,ubuntu,fedora,arch,alpine
uname -r

To see only the major and minor version, strip the rest with cut:

✓ tested · debian,ubuntu,fedora,arch,alpine
uname -r | cut -d. -f1,2

On a system running 6.0 the second command prints:

6.0

Should you run 6.0?

Most people get their kernel from their distribution, so check which kernel your distribution ships and supports before replacing it. Distribution kernels may carry their own patches and support schedules, which I did not research for this article.

Sources

  1. Linux 6.0 - Linux Kernel Newbies
  2. Releases - The Linux Kernel Archives

#Linux Kernel #Linux 6.0 #Io_uring #Btrfs #Uname

This article was drafted with AI assistance, fact-checked against the sources listed above and reviewed by a human editor before publication. Spotted an error? See our corrections policy.