Linux Kernel News Archives


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

New Linux Patch Establishes "CONFIG_X86_64_NATIVE" For -march=native Kernel Builds
New Linux Patch Establishes "CONFIG_X86_64_NATIVE" For -march=native Kernel Builds

Last week I wrote about Linux patches cleaning up x86 32-bit kernel builds for x86_64 CPUs. The new iteration of those patches were sent out today, including the addition of a patch adding the CONFIG_X86_64_NATIVE Kconfig tunable for enabling "-march=native" kernel builds to cater your optimized kernel compilation for the CPU on which you are building the kernel.

10 December 2024 - Optimized Kernel Builds - 10 Comments
Linux 6.13-rc2 To Workaround Buggy Intel Lunar Lake Leading To Responsiveness Issues
Linux 6.13-rc2 To Workaround Buggy Intel Lunar Lake Leading To Responsiveness Issues

Sent out this morning were the "x86/urgent" updates ahead of Linux 6.13-rc2 due out later today. There are x86 fixes for both Intel and AMD processors this week. Most notable though is fixing some buggy Intel Core Ultra "Lunar Lake" behavior that could lead to responsiveness/delay issues due to the MONITOR implementation being buggy/broken.

8 December 2024 - Broken MONITOR - 6 Comments
MGLRU Sees New Performance Optimizations For Linux
MGLRU Sees New Performance Optimizations For Linux

It's been a while since there have been any new advancements or performance optimizations to talk about for Multi-Gen LRU (MGLRU) that was upstreamed to the Linux kernel two years ago as a very exciting kernel innovation. But that's changing now with some fresh performance optimizations being worked on for the MGLRU code.

6 December 2024 - Multi-Gen LRU - 1 Comment
Linus Torvalds Comes Out Against "Completely Broken" x86_64 Feature Levels
Linus Torvalds Comes Out Against "Completely Broken" x86_64 Feature Levels

With the new Linux kernel patches posted yesterday for cleaning up x86 32-bit kernels on x86_64 CPUs as part of that patch series was introducing new Kconfig build options around the x86_64 micro-architecture feature levels. It turns out though that Torvalds is completely against how the x86_64 feature levels are handled by the compiler toolchain folks and doesn't want to see it invading the kernel.

5 December 2024 - No Feature Levels In The Kernel - 65 Comments
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 - 3 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 - 91 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

3688 Linux Kernel news articles published on Phoronix.