Linux Kernel News Archives


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

NVIDIA's New Linux Patches For GPU Direct RDMA For Device-Private Pages
NVIDIA's New Linux Patches For GPU Direct RDMA For Device-Private Pages

NVIDIA engineer Yonatan Maman posted a set of "request for comments" patches this Sunday to implement GPU Direct RDMA "P2P DMA" for device private pages. This is the latest in the effort by multiple vendors to allow more efficient data sharing between GPUs/accelerators and other devices like network adapters.

1 December 2024 - P2P DMA For GPU-Centric Apps - 2 Comments
Clang AutoFDO + Propeller Optimization Support Merged For Linux 6.13
Clang AutoFDO + Propeller Optimization Support Merged For Linux 6.13

Last night when writing about the Clang AutoFDO and Propeller optimization patches sent in for Linux 6.13 I had wondered whether Linus Torvalds would go through with the pull request given some of his past commentary around aggressive compiler optimizations... But to much delight, this evening Linus Torvalds has merged the Kbuild pull request that introduces Clang-based AutoFDO and Propeller compiler optimization support for allowing greater kernel performance out of tailored (profiled) workloads.

30 November 2024 - AutoFDO + Propeller - 4 Comments
Linux 6.13 Hits A "Tipping Point" With More Rust Drivers Expected Soon
Linux 6.13 Hits A "Tipping Point" With More Rust Drivers Expected Soon

In addition to the USB updates and big staging flush merged yesterday for the Linux 6.13 kernel merge window, the "char/misc" pull was also honored for that catch-all of various kernel changes. With the char/misc pull there are some notable additions for those wanting to write kernel drivers within the Rust programming language.

30 November 2024 - Linux 6.13 char/misc - 67 Comments
Linux 6.13 Staging Clears Out 107k Lines Of Code From Old & Unmaintained Drivers
Linux 6.13 Staging Clears Out 107k Lines Of Code From Old & Unmaintained Drivers

Greg Kroah-Hartman is out today with all of the pull requests for Linux 6.13 of the areas of the kernel he oversees. Most notable with the updates on the staging side are clearing out several drivers seeing no real code activity and no apparent users of the mainline Linux kernel... As such the staging pull lightens the kernel by around 107k lines of code.

29 November 2024 - Linux 6.13 Staging - 41 Comments
Linux Kernel Performance Bottlenecks Spotted By Mold Developer
Linux Kernel Performance Bottlenecks Spotted By Mold Developer

Open-source developer Rui Ueyama who is the lead developer of the Mold high performance linker and previously on the LLVM lld linker has written a detailed mailing list post that highlights some observed performance bottlenecks within the Linux kernel.

28 November 2024 - Kernel Bottlenecks - 33 Comments
Microsoft Makes An Interesting Improvement To Kernel Modules With Linux 6.13
Microsoft Makes An Interesting Improvement To Kernel Modules With Linux 6.13

Sent out on Tuesday was the modules pull request for Linux 6.13 that have some low-level improvements but it noted that the biggest kernel modules highlight wasn't in that pull request itself but had been added by way of the memory management pull. This was a change by a Microsoft engineer around caching of kernel modules into huge pages.

27 November 2024 - Linux 6.13 Modules - 45 Comments
LoongArch Wires Up Real-Time Kernel Support & Lazy Preemption
LoongArch Wires Up Real-Time Kernel Support & Lazy Preemption

Merged for the Linux 6.12 kernel was the long-awaited real-time "PREEMPT_RT" kernel support and allowing it to be enabled across x86/x86_64, ARM64, and RISC-V CPU architectures. With the Linux 6.13 kernel, LoongArch is joining the RT party.

27 November 2024 - Linux 6.13 LoongArch - 3 Comments
Linux 6.13 Will Report The Number Of Hung Tasks Since Boot
Linux 6.13 Will Report The Number Of Hung Tasks Since Boot

Following all of the MM patches earlier this week sent in by Andrew Morton, on Sunday morning he sent out all of the non-MM patches that he manages for the Linux kernel. Notable for Linux 6.13 with this pull request is presenting the hung task counter as well as finishing off the folio conversion in the NILFS2 code.

24 November 2024 - hung_task_detect_count - 2 Comments
Sched_Ext Changes Merged For Linux 6.13 With LLC & NUMA Awareness
Sched_Ext Changes Merged For Linux 6.13 With LLC & NUMA Awareness

One of the most prominent new features in Linux 6.12 was the merging of sched_ext for allowing extensible scheduler innovations by altering the scheduling behavior through (e)BPF programs. With the Linux 6.13 kernel there are some nice refinements to this extensible scheduler class.

22 November 2024 - sched_ext - 1 Comment
Multigrain Timestamps Try Again For Linux 6.13 - Now With Less Performance Impact
Multigrain Timestamps Try Again For Linux 6.13 - Now With Less Performance Impact

Merged last year for Linux 6.6 was multi-grain(ed) timestamps to address the current coarse-grained timestamps when updating creation time and modification time that a lot of I/O activity can happen in the once-per-jiffy timestamp. Just a few weeks in the Linux 6.6 kernel, multi-grain timestamps were removed due to bugs. The multigrain code went back to be reworked and now just over one year later the code has been re-merged into the mainline Linux kernel.

20 November 2024 - VFS Multigrain Timestamps - 12 Comments
Linux 6.13 Quadrupling Workqueue Concurrency Limit
Linux 6.13 Quadrupling Workqueue Concurrency Limit

The Linux kernel Workqueue (WQ) is used for handling asynchronous process execution. For the past many years there has been an upper limit on the number of workqueue execution contexts per CPU at 512, but with Linux 6.13 that is being quadrupled to a limit of 2048.

18 November 2024 - Linux 6.13 Workqueues - 1 Comment
Linux 6.13 Introducing New Rust File Abstractions
Linux 6.13 Introducing New Rust File Abstractions

Alongside the VFS pull requests on Friday for case insensitive Tmpfs support and atomic writes for EXT4 and XFS, Christian Brauner also submitted a pull request for introducing some new file abstractions for the Rust programming language within the Linux kernel.

16 November 2024 - Rust File Abstractions - 12 Comments
Linux 6.12 Preps For Release With Real-Time, Sched_Ext, Stable Xe2 & Raspberry Pi 5
Linux 6.12 Preps For Release With Real-Time, Sched_Ext, Stable Xe2 & Raspberry Pi 5

The Linux 6.12 kernel is expected to be released this coming Sunday, 17 November, barring any last minute issues that would force the stable kernel to be diverted to the following Sunday. Linux 6.12 is delivering many exciting new features and beyond that it's all the more exciting with it expected to be this year's Long-Term Support (LTS) kernel version.

15 November 2024 - Linux 6.12 LTS - 7 Comments
Google Posts Patches Further Speeding Up Linux Async Device Suspend & Resume
Google Posts Patches Further Speeding Up Linux Async Device Suspend & Resume

Google engineer Saravana Kannan has posted a set of patches to better optimize async device suspend and resume handling within the Linux kernel. With these patches there are "significant improvements" to async device suspend/resume with testing being done on a Google Pixel 6 smartphone but other devices stand to benefit too.

15 November 2024 - Faster Async Suspend/Resume - 2 Comments
Linux 6.13 Bringing DRM Panic Support To NVIDIA GPUs
Linux 6.13 Bringing DRM Panic Support To NVIDIA GPUs

Friday saw a final round of "drm-misc-next" feature updates ahead of the upcoming Linux 6.13 kernel merge window. The DRM Panic code continues to be enhanced for improving this "Blue Screen of Death" like experience on the Linux desktop.

9 November 2024 - drm-misc-next - 5 Comments
Sched_ext Scheduler Idle Selection Being Extended For LLC & NUMA Awareness
Sched_ext Scheduler Idle Selection Being Extended For LLC & NUMA Awareness

While the sched_ext extensible scheduler code was merged for Linux 6.12, work on sched_ext itself it is not over. New patches this weekend continue working on NUMA awareness for it with its default idle selection policy while similar work on CPU last level cache (LLC) awareness are slated for the upcoming Linux 6.13 cycle.

28 October 2024 - sched_ext NUMA Awareness - 16 Comments
Linux 6.12-rc5 Disabling Intel's Linear Address Masking "LAM" Due To Security Concerns
Linux 6.12-rc5 Disabling Intel's Linear Address Masking "LAM" Due To Security Concerns

Intel merged Linear Address Masking into the Linux kernel last year as a means of allowing user-space to store metadata within some bits of pointers without masking it out before use. LAM can be useful for virtual machines, sanitizers / profiling / memory tagging, and other uses. While the brand new Intel Arrow Lake and Lunar Lake CPUs support LAM, the Linux kernel is now disabling LAM out of security concerns.

27 October 2024 - Linear Address Masking - 19 Comments
FUTEX2 NUMA & Small Futexes Revived For Linux
FUTEX2 NUMA & Small Futexes Revived For Linux

Back in 2020~2021 there was lots of talk and work around FUTEX2 for improving the Linux kernel's Futex implementation for fast user mutex. The FUTEX2 work was driven in large part for helping Steam Play / Wine gaming by better matching the behavior of Microsoft Windows with its WaitForMultipleObjects handling. While the initial code landed back in Linux 5.16, there's been other remaining FUTEX2 features still desired like variable-sized futexes and NUMA-awareness. Finally now we're seeing that work revived.

25 October 2024 - FUTEX2 NUMA + Small Futex - 7 Comments
Some Clarity On The Linux Kernel's "Compliance Requirements" Around Russian Sanctions
Some Clarity On The Linux Kernel's "Compliance Requirements" Around Russian Sanctions

When a number of Russian Linux developers were removed from their MAINTAINERS file in the Linux kernel, it was described as due to "compliance requirements" but vague in what those requirements entailed. Linus Torvalds then commented on the Russian Linux maintainers being de-listed and made it clear that they were done due to government compliance requirements / legal issues around Russia. Now today some additional light has been shed on those new Linux kernel "compliance requirements".

24 October 2024 - US Sanctions Requirements - 362 Comments
Significant CRC32C Throughput Optimization On The Way To The Linux Kernel
Significant CRC32C Throughput Optimization On The Way To The Linux Kernel

Google engineer Eric Biggers has worked on some very nice performance optimizations for the crypto code within the Linux kernel such as faster AES-GCM for Intel and AMD CPUs, much faster AES-XTS disk/file encryption with modern CPUs, and many other optimizations over the years. His latest work is on enhancing the CRC32C crypto performance for x86/x86_64 processors.

23 October 2024 - Faster CRC32C Performance - 22 Comments
Linus Torvalds Growing Frustrated By Buggy Hardware & Theoretical CPU Attacks
Linus Torvalds Growing Frustrated By Buggy Hardware & Theoretical CPU Attacks

Over the past week Linux creator Linus Torvalds has been active on a Linux kernel mailing list thread around avoiding barrier_nospec() in copy_from_user() due to being "overkill and painfully slow." The conversation evolved into low-level discussions over CPU behavior and how to best handle, differing behavior/requirements with new Intel CPUs supporting Linear Address Masking (LAM), and the overall headaches these days around CPU security mitigations.

21 October 2024 - Frustrated Torvalds - 129 Comments
Linux 6.13 Poised To Land Prep Patches Working Toward Proxy Execution
Linux 6.13 Poised To Land Prep Patches Working Toward Proxy Execution

Years in the making has been the idea of Proxy Execution for the Linux kernel as a means of implementing priority inheritance by leveraging information from a task's scheduler context and its execution context. While the Proxy Execution patches themselves aren't yet queued for merging upstream, some prep patches look like they'll make it for the upcoming Linux 6.13 merge window.

18 October 2024 - Linux Proxy Execution - 7 Comments

3678 Linux Kernel news articles published on Phoronix.