Linux 7.0 Readying Improvement For Rust + LTO Kernel Builds

Alice Ryhl of Google has been working on an improvement to the Linux kernel code for inlining C helpers into Rust when making use of a Link-Time Optimized (LTO) kernel build. At least some of the patches are queued up for merging in the upcoming Linux 6.20~7.0 cycle for helping those enabling the Rust kernel support and also making use of the LLVM/Clang compiler’s LTO capabilities for greater performance…

ollama 0.14 Can Make Use Of Bash For Letting AI/LLMs Run Commands On Your System

The ollama 0.14-rc2 release is available today and it introduces new functionality with ollama run –experimental for in this experimental mode to run an agent loop so that LLMs can use tools like bash and web searching on your system. It’s opt-in for letting ollama/LLMs make use of bash on your local system and there are at least some safeguards in place…

Evans: A data model for Git (and other docs updates)

On her blog, Julia Evans writes about
improving Git documentation
, including a new data
model man page
she wrote with Marie
LeBlanc Flanagan, and updates to the pages for several other Git sub-commands
(add, checkout, push, and pull). As
part of the process, she asked Git users to describe problems they had run into
in the documentation, which helped guide the changes that she made.

I’m excited about this because understanding how Git organizes its commit and branch data has really helped me reason about how Git works over the years, and I think it’s important to have a short (1600 words!) version of the data model that’s accurate.

The “accurate” part turned out to not be that easy: I knew the basics of how Git’s data model worked, but during the review process I learned some new details and had to make quite a few changes (for example how merge conflicts are stored in the staging area).

AMD Enabling New GFX12.1 & More RDNA 3.5 Hardware Blocks With Linux 6.20~7.0

AMD today sent out their latest pull request to DRM-Next of new AMDGPU/AMDKFD kernel driver changes they are looking to get into the next kernel cycle, which will either be known as Linux 6.20 or more than likely be called Linux 7.0. Notable with this week’s pull request is enabling a lot of new GPU hardware IP blocks, including GC/GFX 12.1 as a new addition past the current GFX12.0 / RDNA4…

[$] READ_ONCE(), WRITE_ONCE(), but not for Rust

The READ_ONCE() and WRITE_ONCE() macros are heavily used
within the kernel; there are nearly 8,000 call sites for
READ_ONCE(). They are key to the implementation of many lockless algorithms and can be necessary for some
types of device-memory access. So one might think that, as the
amount of Rust code in the kernel increases, there would be a place for
Rust versions of these macros as well. The truth of the matter, though, is
that the Rust community seems to want to take a different approach to
concurrent data access.