Linux kernel 7.2 has been released, adding cache-aware scheduling, ext4 filesystem performance boosts and a slew of new and improved hardware drivers for laptops and peripherals.
A merge-widow record was also set during the 9-week development cycle, with more than 2,100 individual contributors involved. AI, obviously, has helped. Commit-crunching by LWN found roughly 5% of commits in 7.2 have an ‘assisted-by’ tag, indicating AI usage.
Not that the latest kernel update was all additions.
More than 13,000 lines of code for legacy i486 CPU emulation were removed from Linux 7.2, as was a 40-year-old Hercules graphics card driver, AppleTalk networking protocol and ISA and PCMCIA ARCnet drivers.
None of that is stuff people will miss on the daily, and those who do can boot Linux 7.1 or lower.
Finally, a key feature expected to arrive in Linux 7.2 – a fair(er) GPU scheduler – didn’t. A last minute revert switched back to the first-in-first-out (FIFO) method due to reports of performance regressions on certain AMD graphics cards.
For a closer look at more of what’s new in Linux 7.2, read on!
Linux 7.2: key changes
Cache-aware scheduling
Linux 7.2 makes its task scheduler (which decides what tasks run and when) cache-aware. This means it can recognise when threads (parts of a task) belong to the same process and keep them on cores that share a cache.
Previously the scheduler balanced load across all your CPU’s cores without checking whether threads on separate cores shared memory. Threads on different cores would need re-fetch or sync the same data, known as cache bouncing.
Guardrails are in place to prevent a process from overloading a cache ‘domain’ (so one app’s tasks can’t choke the system). The scheduler also won’t move more threads if a process is already using >25% CPU time, or >33% of the load in a domain.
AMD and Intel CPUs with ‘multiple cache domains’ benefit the most from this, though by how much will depend on the processor and the workload involved.
Pipes get a locking fix
A locking fix for pipes – yes, pipes as in |, oft-used in shell commands and behind-the-scenes process tasks data handoffs – reduces how long they can hold a lock during writing.
It might sound a little “and?”, but the stats are more “Ooh”, as testing shows performance jumps of up 6-28% and write latency down 5-22% (rising under memory pressure) in relevant situations.
As with most optimisations you hear about in a Linux kernel update, the benefit is a blanket one all users will notice per se, but next time your system’s straining, if any pipe-related mechanism is involved behind the scenes, it’ll be straining a little bit less.
Memory reclaim made tighter
Linux 7.2 has refined its Multi-Generational LRU (MGLRU), which is the algorithm used by the kernel to decide what gets removed from memory, when memory runs low.
By clearing and tightening the ‘reclaim’ loop, as well as how ‘dirty pages’ are written back during the process, there’s “up to ~30% increase in some workloads like MongoDB with YCSB”, per the mglru reclaim commit cover.
The change also results in fewer unexpected out-of-memory (OOM) kills.
EXT4 filesystem changes
Ext4, Ubuntu’s default filesystem, gets some minor speed-focused improvements in Linux 7.2.
A change to the ext4 filesystem’s fast commit feature, which, as its name suggests, writes journal entries quicker than it would with a full commit, removes lock contention and deadlocks under heavy usage.
Stats for that are also now viewable at /proc/fs/ext4/*/fc_info (we’ll be coming back to proc elsewhere in this roundup).
Another fix, one shared with XFS as well, nixes a memory-cleaning step from the kernel’s IOMAP layer, netting 5% boost in small, random 4K reads from NVMe drives when using io_uring‘s polling mode.
Finally, a directory lookup change now handles data in 4-byte chunks, which is said to make finding files in dense folders faster.
Other filesystem improvements
NTFS handling in Linux 7.2 is bolstered with Windows symbolic link support – the proper kind, not just WSL-esque ones. A bug with these links appearing as zero-byte files was also fixed. Separately, NTFS was ‘hardened’ against on-disk metadata corruption.
exFAT, which is what many of us format our SD cards and USB drives, sees a boost in read and write speeds by using the kernel’s iomap. Benchmarks in the commit said write speeds improve by as much as 87% under heavy load.
For many kernel watchers, Btrfs is always where the headline changes are.
The filesystem sees more speedups in Linux 7.2 now that large folios are finally enabled by default, having been experimental since 6.17. This lets the filesystem handle memory in bigger chunks, which cuts overhead and improves speed.
Direct I/O is no longer made to run ‘serially’ (in turn), which reportedly boosts write performance by 59%, while sequential writes jump by 15% due to new limits on how large a single writeback request can get.
USB4 cable direct data transfers
Linux 7.2 supports USB4STREAM, a new protocol for sending data between two devices using a USB4 or Thunderbolt cable (and it can be used alongside existing Thunderbolt networking).
A new driver creates device files named /dev/tbstreamX on each computer. Data can be sent along a compatible cable to a compatible port via tools like cat, echo and dd, without a network connection.
Faster proc file reading
/proc, the virtual filesystem the kernel uses to share system state as files, saw two of the said files become more efficient: /proc/filesystems lists filesystem support; /proc/interrupts details hardware interrupts.
The former gets appreciable faster due to a rewrite in the how /proc/filesystems files generated, now pre-built rather than constructed on each read. Testing shows up to 140% faster reads, and up to 444% if 20 processes read the file at the same time.
Your day-to-day system usage won’t benefit, but any tools and scripts which do probe system status often, will be more responsive as a result.
Improved laptop drivers
Various laptops pick up improvements in their respective vendor drivers.
The Uniwill laptop driver, used by TUXEDO Computers, adds support for battery charging modes; the Microsoft Surface platform driver gains Surface Pro 12-inch support and more Lenovo Legion devices can use battery charging limits via the wmi driver.
The AMD ISP4 webcam on the HP ZBook Ultra G1a is supported in Linux 7.2, as are a swathe of pen-enabled Wacom W9000-series touchscreens, typically found in 2-in-1 convertible devices that come bundled with stylus/digitisers.
Audio-wise, the internal microphone array on the HyperX OMEN Gaming Laptop 16-ap1xxx (using AMD Ryzen 7 or 9 CPUs) now works too, while audio quirks on the Lenovo Yoga 7 (16IAP7) and the Legion 7i (16IAX7) have been resolved.
Microsoft’s OG Surface RT tablet (model 1516) reports battery capacity and charging info when running the Linux 7.2 kernel. That might amuse any of you reading who has one of these early ARM-based devices from 2010 gathering dust in a drawer.
Linux 7.2 can now boot Apple M3 MacBook Pros, Airs and iMacs – albeit only to a console. While far from ‘daily driver’ ready the way Apple M1 and M2 devices are, it’s encouraging to see new fruits from the Asahi Linux effort.
Expanded peripheral drivers
Linux gamers will find the side buttons on the Rakk Dasig X gaming mouse now function, having been ignored because of a faulty HID report descriptor, while PlayStation DualSense Edge controller’s rear buttons finally see support too.
OneXPlayer configuration driver was mainlined, courtesy of Valve, and the third-party HORI Wireless Switch Pad for the Nintendo Switch works out-of-the-box.
This kernel version supports the Realtek RTL8159 ASIC found in many 10 Gbps USB network adapters, as well as more USB wireless adapters, including Mercusys MA60XNB and NETGEAR NightHawk A8500 WiFi 7, which should work out of the box.
New drivers for the Realtek 8922AU and 8922AE (including Bluetooth) are on board, and Linux 7.2 supports the Mediatek MT7927 (Filogic 380), often found in motherboards, for full WiFi 7 (2+ Gbps on 6 GHz) and Bluetooth 5.4 connectivity.
And there’s more temperature and fan speed tracking on a range of ASUS and ASRock desktop motherboards, including the ASRock Z890 Pro-A, and adds a new driver for ARCTIC Fan Controller.
Other changes
Linux 7.2 continues to add support for Intel and AMD CPUs and GPUs that aren’t available to buy yet. I prefer to highlight changes affecting hardware people do own and use. Plus, kernel support for major CPUs usually lands before the hardware is available to the masses.
As well as the highlights above, other notable changes in Linux 7.2 include:
- khugepaged can merge memory into multiple huge page sizes
- Landlock can restrict UDP bind, connect and send
- New openat2() flag lets programs refuse to open device files
- NFS, ksmbd servers can report case-insensitive filesystems
AF_ALG,- involved in recent security issues, is deprecatedstrncpy()- was removed from the kernel- Initial support for AMDGPU HDMI 2.1 FRL
- PCIe 2.5 GT/s link-speed fix
- AMD Zen 6 EPYC support
- Intel TDX can update runtime module without a reboot
- Continued work to support WiFi 8
- Phase IV of swap table improvements
- Preparatory support for sub-schedulers in-
sched_ext - Improved write performance with-
RWF_DONTCACHE
For more detail on the release as whole read through LWN’s merge report recaps (first half & second half) – keep in mind those were published prior to the final release, and some features, like the fair(er) DRM scheduler, were reverted.
Dedicated kernel hounds can sift through the entire Linux 7.2 commit history on GitHub.
Will Ubuntu 26.10 use Linux 7.2?
Canonical has said Linux 7.2 is the kernel version targeted for Ubuntu 26.10.
But, under Ubuntu’s new kernel selection policy, in which it aims to ship the “absolute latest upstream version” in development by Ubuntu’s kernel freeze deadline, even if in RC status, Linux 7.3 could still be a viable candidate.
Why?
The working assumption was that Linux 7.2 would be released after the stonking kernel freeze deadline of 20 August, when it has arrived before it. That means the merge window for 7.3 has opened, thus it is “the latest” version in development.
Canonical’s kernel engineers will, I’m sure, provide clarification on that shortly.
Whether Linux 7.2 or 7.3 is used, expect a kernel backport to Ubuntu 26.04 in early 2027’s Hardware Enablement stack (HWE) update/26.04.2 LTS point release.
Download Linux 7.2
The Linux 7.2 kernel source code is available for download from kernel.org, if you want to compile it by hand (which, chances are, you don’t).
For Ubuntu users, this kernel version will not come as an official software update (unless part of a future HWE). However, you can install a Canonical Mainline .deb or use a third-party PPA or repo to get it unofficially, sooner.
Keep in mind that installing a Linux kernel on Ubuntu that comes from outside of the official repos is not recommended: no guarantees, no support, may lack Ubuntu-specific patches or drivers, some hardware or security features may not work, etc.
That’s this kernel update in a nutshell – what were your highlights?