Linux Kernel 6.13 Officially Released: Expanded Apple A-Series Support
Linux Kernel 6.13 Officially Released: Expanded Apple A-Series Support and Real-Time Capabilities for LoongArch Architecture
- Why Enterprise RAID Rebuilding Succeeds Where Consumer Arrays Fail?
- Linus Torvalds Rejects MMC Subsystem Updates for Linux 7.0: “Complete Garbage”
- The Man Who Maintained Sudo for 30 Years Now Struggles to Fund the Work That Powers Millions of Servers
- How Close Are Quantum Computers to Breaking RSA-2048?
- Why Windows 10 Users Are Flocking to Zorin OS 18 Instead of Linux Mint?
- How to Prevent Ransomware Infection Risks?
- What is the best alternative to Microsoft Office?
Linux Kernel 6.13 Officially Released: Expanded Apple A-Series Support and Real-Time Capabilities for LoongArch Architecture
On January 21, the Linux Kernel 6.13 stable version was officially released.
This marks the first major update for the kernel in 2025, introducing new features and optimizations, such as lazy preemption and Arm CCA virtual machine support, alongside enhanced hardware compatibility.

Key Features and Enhancements
1. Lazy Preemption for Improved Efficiency
Linux 6.13 introduces lazy preemption, which simplifies preemption logic in the kernel. By reducing scheduler-related calls during runtime, this feature optimizes kernel performance and enhances overall efficiency.
2. Arm CCA Virtualization and Shadow Stack Support
The update allows Linux to run within secure Arm CCA (Confidential Compute Architecture) virtual machines, also known as “realms.” Additionally, it introduces support for user-mode shadow stacks in AArch64 (ARM64) through a guarded control stack (GCS) mechanism.
3. Enhanced CPU and Hardware Support
- AMD Innovations: Includes a driver for AMD 3D V-Cache optimization, benefiting Ryzen R9 X3D processors with multiple CCDs. AMD EPYC 9005 “Turin” server processors now default to AMD P-State over ACPI CPUFreq for better energy efficiency.
- Apple Devices: Expanded support for older Apple devices, such as various iPads and iPhones (A7–A11 series).
- Intel GPUs and CPUs: Added support for Intel Xe3 graphics cards and new CPUs, including ArrowLake-H and Panther Lake processors.
- Raspberry Pi and SoundWire Improvements: Incorporates hardware superpage support for Raspberry Pi V3D drivers and implements MIPI DisCo 2.0 compliance in the SoundWire subsystem.
4. Real-Time Computing for LoongArch
Linux 6.13 extends real-time computing capabilities to Loongson’s LoongArch architecture, while introducing user-space pointer masking for better security and functionality.
5. Networking Optimizations
- Transformed the RTNL (routing and network link) lock into a per-namespace mechanism to reduce contention.
- Implemented IRQ pause functionality to suspend interrupts when applications are busy.
- Introduced netlink-based NAPI configuration and a TX hardware shaping API for traffic flow management.
6. Filesystem Advancements
- F2FS (Flash-Friendly File System): Added a device aliasing feature that allows partitions to be allocated and space reclaimed by deleting alias files.
- XFS Filesystem: Basic atomic write operation support added.
- FUSE Enhancements: Included block-to-page translations and a sysctl-based maximum request configuration option.
7. Broader Hardware Driver Support
The release provides new and updated drivers for devices like:
- Tablets: Vexia EDU ATLA 10, Microsoft Surface Pro 9 5G.
- GPUs: Adreno A663.
- Processors and Components: Allwinner H616, AMD ACP 6.3, Qualcomm SM8750, Realtek RT721 audio chip.
- Network and Peripherals: NVIDIA Mellanox “MLX5,” NT36672A touchscreens, AMD I3C controllers.
8. Rust Programming Language Enhancements
Linux 6.13 advances its Rust-based infrastructure with new tracing event support and a memory allocator, marking another step toward deeper Rust integration into the kernel.
Development Outlook
Following the release of Linux 6.13, the merge window for Linux Kernel 6.14 will soon open.
The first release candidate (RC) is expected by February 2, 2025, with the stable version projected for late March.
What is lazy preemption?
Lazy preemption is a kernel optimization technique designed to delay preemption—a process where the kernel interrupts a running task to allow another task to execute—in certain situations until it is absolutely necessary.
This approach aims to improve overall system performance by reducing the frequency and overhead of preemption events, which can otherwise involve significant computation and resource management.
Key Aspects of Lazy Preemption
-
Delay Until Necessary: Instead of immediately preempting a task when a higher-priority task becomes eligible to run, lazy preemption delays the preemption to specific “safe points,” such as at the end of a scheduling cycle or at a natural boundary in processing.
-
Reduced Overhead: By minimizing the number of preemption events, lazy preemption reduces context-switching overhead, which can improve the efficiency of CPU-bound tasks and the kernel’s scheduler.
-
Fair Scheduling Integration: The technique is often combined with fairness algorithms to ensure that task scheduling remains balanced, even with the delayed preemption mechanism.
-
Use Case: Lazy preemption is particularly beneficial for workloads where high-frequency preemption can hinder performance, such as in real-time or CPU-intensive applications.
In Linux Kernel 6.13, lazy preemption works by allowing preemption requests to be deferred to timer ticks or other logical boundaries. This feature is represented by the kernel configuration option
CONFIG_PREEMPT_LAZY=y.
It can improve efficiency in architectures like x86, RISC-V, and LoongArch, where avoiding unnecessary preemption can lead to smoother task scheduling and enhanced performance.