Linux Kernel News Archives


3,574 Linux Kernel open-source and Linux related news articles on Phoronix since 2006.

Linux 6.11 Is Looking Good In Early Benchmarks On AMD Ryzen Threadripper
Linux 6.11 Is Looking Good In Early Benchmarks On AMD Ryzen Threadripper

With the Linux 6.11 kernel merge window wrapping up this weekend, I've begun "kicking the tires" on the new kernel that will then see the weekly release candidates over the next two months. For some initial Linux 6.10 vs. 6.11 Git benchmarking on an AMD Ryzen Threadripper workstation, the new kernel is appearing fit and offering some nice performance gains in a few areas.

26 July 2024 - Linux 6.11 - 5 Comments
Linux 6.11 Lands Support For getrandom() In The vDSO
Linux 6.11 Lands Support For getrandom() In The vDSO

Going back two years has been the effort for adding getrandom() to the vDSO in order to enhance the performance. This work has yielded as much as 15x the performance in showing very fast while being secure user-space RNG needs. A few weeks back Linus Torvalds was unconvinced by adding getrandom() to the vDSO, but after going back through the patches he gave it another go. Today the work has managed to be mainlined for Linux 6.11.

24 July 2024 - getrandom() vDSO - 17 Comments
XZ Patches For The Linux Kernel Updated, Drops "Jia Tan" As A Maintainer
XZ Patches For The Linux Kernel Updated, Drops "Jia Tan" As A Maintainer

Back in March were a set of patches to the Linux kernel's XZ embedded compression implementation with the project having switched from public domain to the BSD Zero Clause License along with other changes to update that in-tree code. Since then the notorious XZ backdoor situation was discovered in the upstream XZ project. With those major issues behind, Lasse Collin today sent out an updated set of patches for updating the in-tree XZ code for the Linux kernel.

21 July 2024 - XZ For The Linux Kernel - 39 Comments
Rust Safety Standard Proposed For The Linux Kernel
Rust Safety Standard Proposed For The Linux Kernel

While Rust is viewed as a memory safe and robust programming language, there is the "unsafe" keyword within Rust that can be used for unsafe code that grants "unsafe superpowers" for the language. As dealing with Rust at low-levels as the Linux kernel can lead to needing to use "unsafe" Rust at times, a documentation standard has been proposed for dealing with such code inside the kernel.

17 July 2024 - Rust Safety Standard - 79 Comments
GNU Linux-libre 6.10 Takes Aim At Intel IPU6, Panthor & Other Drivers With Blobs
GNU Linux-libre 6.10 Takes Aim At Intel IPU6, Panthor & Other Drivers With Blobs

Following last night's release of the Linux 6.10 kernel, the FSF LA developers have released GNU Linux-libre 6.10-gnu as their downstream kernel flavor that strips out the ability to load binary-only kernel modules and the ability to load non-free firmware/microcode into open-source drivers, among other alterations in the name of software freedom.

15 July 2024 - GNU Linux-libre 6.10-gnu - 21 Comments
The Most Interesting Linux 6.10 Features From MSEAL To Intel Xe2 Preparations
The Most Interesting Linux 6.10 Features From MSEAL To Intel Xe2 Preparations

Linux 6.10 stable should be released later today. It's been a fairly calm week in the kernel world and thus Linus Torvalds will most likely opt for tagging v6.10 as opposed to doing a v6.10-rc8 extra release candidate. So with Linux 6.10 likely upon us, here's a reminder about some of the most interesting changes in this new kernel release.

14 July 2024 - Linux 6.10 Features - 4 Comments
Linux 6.11 To Offer More Fine-Tuned Control Over Swappiness
Linux 6.11 To Offer More Fine-Tuned Control Over Swappiness

As part of the memory management changes expected to be merged for the upcoming Linux 6.11 cycle is allowing more fine-tuned control over the swappiness setting used to determine how aggressively pages are swapped out of physical system memory and into the on-disk swap space.

5 July 2024 - Swappiness - 6 Comments
Linux Looking To Make 5-Level Paging Support Unconditional For x86_64 Kernel Builds
Linux Looking To Make 5-Level Paging Support Unconditional For x86_64 Kernel Builds

It's been nearly one decade since Intel began working on 5-level paging support for the Linux kernel to allow for greater virtual and physical address space with expanding memory sizes. The 5-level paging kernel-side bits were upstreamed back in Linux 4.12 in 2017 and enabled by default since 2019 with Linux 5.5. Intel CPUs for a while (since Ice Lake) have supported 5-level paging and AMD CPUs too since Zen 4. The Linux kernel may move to unconditionally enabling 5-level paging support for x86_64 kernel builds.

4 July 2024 - 5-Level Paging On AMD / Intel - 32 Comments
Linux's DRM Panic "Screen of Death" Sees Patches For QR Code Error Messages
Linux's DRM Panic "Screen of Death" Sees Patches For QR Code Error Messages

Linux 6.10 introduces DRM Panic for providing a new panic screen in case of kernel errors and situations where the VT support may be disabled. This new kernel functionality is akin to Windows' Blue Screen of Death or thanks to open-source can be adapted to take on other forms such as a black screen of death and conveying monochrome logos rather than ASCII art. New patches provide for the ability to show QR codes of error messages within the DRM Panic screens.

3 July 2024 - DRM Panic + QR Codes - 49 Comments
Meta Sees ~5% Performance Gains To Optimizing The Linux Kernel With BOLT
Meta Sees ~5% Performance Gains To Optimizing The Linux Kernel With BOLT

For years Meta/Facebook has been exploring using BOLT with the Linux kernel to optimize the layout of the Linux kernel binary. Since BOLT was upstreamed into LLVM, they've continued work around BOLT'ing the kernel. There is now a public guide for carrying out a BOLT-optimized Linux kernel build and roughly 5% better system performance to expect from such an optimized kernel.

3 July 2024 - Linux Kernel + BOLT - 15 Comments
DRM Panic "Screen of Death" To Gain Monochrome Logo Support In Linux 6.11
DRM Panic "Screen of Death" To Gain Monochrome Logo Support In Linux 6.11

The DRM Panic handler in Linux 6.10 that is used for presenting a visual error message in case of kernel panics and similar when CONFIG_VT is disabled continues seeing new features. This is the Linux equivalent to Windows' Blue Screen of Death or in the case of DRM Panic can also be a black screen of death. With Linux 6.11, the DRM Panic display can now handle monochrome logos.

28 June 2024 - Monochrome Logo Support - 28 Comments
Linux Can Have A "Black Screen Of Death" For Kernel Panics
Linux Can Have A "Black Screen Of Death" For Kernel Panics

With some Linux users not liking the recently showcased new Linux "Blue Screen of Death" for kernel panics, Red Hat engineer Javier Martinez Canillas who has been one of those involved in the new DRM Panic infrastructure showed that it can also be a "black screen of death" if so desired.

21 June 2024 - Black Screen of Death - 44 Comments
Updated DRM Rust Abstractions For Linux As Part Of Bringing Up The Nova Driver
Updated DRM Rust Abstractions For Linux As Part Of Bringing Up The Nova Driver

Sent out last month were the very preliminary Rust-written Nova GPU kernel driver patches for this in-development Direct Rendering Manager driver for open-source NVIDIA GPU support for RTX 20 / Turing GPUs and newer by leveraging the NVIDIA GPU System Processor (GSP). Sent out this week is the second iteration of the stubbed Nova kernel driver and the associated Rust language DRM subsystem abstractions.

19 June 2024 - DRM Rust Abstractions v2 - Add A Comment
Linus Torvalds Demotes "FORCE_NR_CPUS" Embedded Linux Option To Avoid Confusion
Linus Torvalds Demotes "FORCE_NR_CPUS" Embedded Linux Option To Avoid Confusion

The Linux kernel "FORCE_NR_CPUS" Kconfig option has been around a few years to force the number of CPU cores the kernel expects in order to allow for better compiler optimizations. When building a kernel targeted for a specific device/platform with a given number of CPU cores, the compiler can optimize CPU mask routines and shrink the size of the resulting kernel image rather than having to accommodate up to a dynamic upper-limit for the number of CPU cores to be found at boot time. Linus Torvalds himself has turned to demoting this CONFIG_FORCE_NR_CPUS option further to avoid confusion.

18 June 2024 - FORCE_NR_CPUS - 19 Comments
Linux's New DRM Panic "Blue Screen of Death" In Action
Linux's New DRM Panic "Blue Screen of Death" In Action

After being talked about for years of DRM panic handling and coming with a "Blue Screen of Death" solution for DRM/KMS drivers, Linux 6.10 is introducing a new DRM panic handler infrastructure for being able to display a message when a panic occurs. This is especially important for those building a kernel without VT/FBCON support where otherwise viewing the kernel panic message isn't otherwise easily available.

16 June 2024 - Linux Blue Screen of Death - 78 Comments
Linus Torvalds Throws Down The Hammer: Extensible Scheduler "sched_ext" In Linux 6.11
Linus Torvalds Throws Down The Hammer: Extensible Scheduler "sched_ext" In Linux 6.11

The extensible scheduler "sched_ext" code has proven quite versatile for opening up better Linux gaming performance, more quickly prototyping new scheduler changes, Ubuntu/Canonical has been evaluating it for pursuing a more micro-kernel like design, and many other interesting approaches with it. Yet it's remained out of tree but that is now changing with the upcoming Linux 6.11 cycle.

11 June 2024 - sched_ext - 60 Comments
Up To 162% Faster AES-GCM Encryption/Decryption For Intel & AMD CPUs On Linux
Up To 162% Faster AES-GCM Encryption/Decryption For Intel & AMD CPUs On Linux

With the in-development Linux 6.10 kernel Eric Biggers of Google landed new AES-XTS implementations for much faster performance for Intel/AMD processors via new AES-NI + AVX, VAES + AVX2, VAES + AVX10/256, and VAES + AVX10/512 code paths. Biggers has since begun tackling even better AES-GCM encryption/decryption performance by leveraging a new code path to utilize AVX-512/AVX10 and/or VAES.

3 June 2024 - AES-GCM With AVX-512/AVX10 + VAES - 16 Comments
Linux 6.11 To Bring Nouveau NVreg_RegistryDwords Support, Intel NPU Enhancements
Linux 6.11 To Bring Nouveau NVreg_RegistryDwords Support, Intel NPU Enhancements

Now past the Linux 6.10 merge window, this week brought an initial batch of drm-misc-next changes submitted to the Direct Rendering Manager subsystem's DRM-Next for queuing until the Linux 6.11 merge window opens up in July. The changes this week include a notable addition for the open-source NVIDIA (Nouveau) driver and some improvements for the Intel iVPU driver for their Neural Processing Unit (NPU).

2 June 2024 - drm-misc-next - 1 Comment
Linux 6.10 Supports NUMA Balancing For Multi-Size THPs
Linux 6.10 Supports NUMA Balancing For Multi-Size THPs

With the memory management "MM" updates merged for the Linux 6.10 there is now NUMA balancing support for multi-size transparent hugepages (THPs). This is yielding some nice performance results and there is also other work in this new kernel around multi-size THPs.

26 May 2024 - Transparent Hugepages - Add A Comment
Newer AMD Radeon Graphics Cards Now Work On RISC-V With Linux 6.10
Newer AMD Radeon Graphics Cards Now Work On RISC-V With Linux 6.10

Andrew Morton sent out more patches on Wednesday that have been pulled into the Linux 6.10 kernel. Notable from this latest round of "non-MM" updates is enabling more compiler warnings by default and getting newer AMD GPUs working on the RISC-V architecture.

23 May 2024 - AMD Radeon + RISC-V + Linux 6.10 - 17 Comments
Initial Windows NT Sync Driver Merged Into Linux 6.10 But Not Yet Complete
Initial Windows NT Sync Driver Merged Into Linux 6.10 But Not Yet Complete

Greg Kroah-Hartman today sent in the char/misc updates for Linux 6.10 alongside the other areas of the kernel he oversees. Among the char/misc changes is adding the NTSYNC driver that exposes the /dev/ntsync character device for use by the likes of Wine and Valve's Steam Play (Proton). But for Linux 6.10 the driver is effectively "broken" as most of the feature patches have yet to be included.

22 May 2024 - NTSYNC Driver - 1 Comment
Linux 6.10 Scheduler Changes Bring More Refinements
Linux 6.10 Scheduler Changes Bring More Refinements

Alongside all of the other pull requests by Ingo Molnar submitted at the start of the week during the opening of the Linux 6.10 merge window were the scheduler updates. As usual, the kernel scheduler work continues to see various tweaks and refinements to enhance its behavior.

19 May 2024 - Kernel Scheduler - 7 Comments
Linus Torvalds On Dogfooding The Linux Kernel
Linus Torvalds On Dogfooding The Linux Kernel

Besides Linus Torvalds examining various elements of code he's merging and build testing it on his AMD Ryzen Threadripper workstation and now also testing more on ARM64 with Ampere Altra, he does these days still believe in "dogfooding" and is in fact running the leading-edge Linux kernel code even during the merge window.

16 May 2024 - Yes He Does - 22 Comments
Linus Torvalds Is Doing More ARM64 Linux Testing Now That He Has A More Powerful System
Linus Torvalds Is Doing More ARM64 Linux Testing Now That He Has A More Powerful System

Linux kernel and Git creator Linus Torvalds is known for his current use of an AMD Ryzen Threadripper workstation as his main system after years of using Intel hardware. The past few years he's also been doing more ARM64 testing now that he has an Apple MacBook using Apple Silicon that serves as a nice travel device and for routinely compiling new ARM64 Linux kernel builds. More recently, his ARM64 Linux testing has increased now that he has a more powerful AArch64 system to complement his collection of routine gear.

14 May 2024 - Ampere Altra - 27 Comments
Linux 6.10 Makes AES-XTS Disk/File Encryption Much Faster For Modern Intel/AMD CPUs
Linux 6.10 Makes AES-XTS Disk/File Encryption Much Faster For Modern Intel/AMD CPUs

The work written about one month ago on Phoronix for much faster AES-XTS on modern Intel/AMD CPUs for speeding up disk and file encryption by as much as 155% with AMD Zen 4 CPUs has been submitted for Linux 6.10! As expected, this work providing new AES-XTS implementations for modern x86_64 processors is going into Linux 6.10 as part of the crypto subsystem updates.

13 May 2024 - Faster AES-XTS Crypto - 14 Comments

3574 Linux Kernel news articles published on Phoronix.