KernelNewbies:

Linux 7.2 changelog.

Summary:

1. Prominent features

1.1. Faster performance and less cache misses with cache-aware task scheduling

This release introduces cache-aware load balancing of tasks, with the goal of co-locating tasks that share data (ie. threads of the same process) within the same Last Level Cache domain. By improving cache locality, the scheduler can reduce cache bouncing and cache misses, ultimately improving data access efficiency.

Recommended LWN article: Cache awareness for the CPU scheduler

1.2. Better memory reclaiming, for better performance

Memory reclaiming, which is the part of the kernel that decides which parts of the memory should be sent to the swap or evicted from memory, has been improved. This release cleans up and slightly improve MGLRU's reclaim loop and dirty writeback handling. As a result, we can see an up to ~30% increase in some workloads like MongoDB with YCSB and a huge decrease in file refault, no swap involved. Other common benchmarks have no regression, and LOC is reduced, with less unexpected OOM, too.

1.3. Swap table phase IV

Phase IV of the swap table work (phase I, II, III)

This release unifies the allocation and charging of anonymous and shmem swap in folios, provides better synchronization, consolidates the metadata management, hence dropping the static array and map, and improves the performance. The static metadata overhead is now close to zero, and workload performance is slightly improved. For example, mounting a 1TB swap device saves about 512MB of memory.

Recommended LWN article: Swap tables, flash-friendly swap, swap_ops, and more

1.4. Various Btrfs improvements

This release brings various improvements for the Btrfs file system:

1.5. New dm-inlinecrypt target for inline block device encryption

This release introduces a new dm target, dm-inlinecrypt, to support inline block-device encryption. The implementation builds on the work previously done in Android’s dm-default-key, but intentionally drops passthrough support, as that functionality does not appear likely to be accepted upstream in the near future. With this limitation, dm-inlinecrypt is positioned as a practical replacement for dm-crypt, rather than a general passthrough mechanism.

1.6. openat(2) extensions

This release adds a couple of flags to the openat(2) system calls:

1.7. Speedup reading /proc/filesystems and /proc/interrupts

Performance when reading these two procfs files is not relevant for most applications, however some extreme users benefit from optimizing these files as much as possible, or are even used more often that you would expect (/proc/filesystems is read by libselinux and is linked into numerous frequently used programs, even simple ones like sed). This release optimizes the generation of these files.

2. Core (various)

KernelNewbies: Linux_7.2 (last edited 2026-07-25 22:17:31 by diegocalleja)