freenode

← digests

Emacs LLM guidance and Rust dma_fence work

Desktop & Graphics2026-08-06

Desktop and graphics development on 2026-08-06 focused on Emacs policy for LLM agents and successive Rust abstractions for dma_fence in GPU drivers. Parallel patch series refined dmabuf io_uring paths and device page migration fallbacks.

Emacs debates AGENTS.md to steer LLM agents

Emacs developers on emacs-devel debated a proposal to add an AGENTS.md file that would steer LLM agents away from generating code, offered as an alternative to hooks. The discussion spanned 80 messages from 16 participants and turned heated. The outcome matters to anyone maintaining editor tooling or concerned with how large language models interact with established codebases.

Rust dma_fence abstractions iterated with soundness flags

Successive versions of a Rust patch series adding dma_fence abstractions for GPU drivers appeared on dri-devel, including v6, v8 and v9 with supporting patches. Review comments, including automated analysis, flagged multiple soundness bugs, use-after-free risks and deadlock possibilities. Kernel graphics developers tracking the Rust-for-Linux effort need these abstractions to be correct before broader driver adoption.

dmabuf read and write via io_uring reaches v4

A fourteen-patch v4 series adding dmabuf registration for io_uring fixed read and write operations, aimed at NVMe, received review on dri-devel. Participants offered optimization suggestions across 51 messages. The work improves efficient buffer transfer between graphics and storage subsystems.

Device-private THP migration fallback fixes

Version 2 and version 3 patchsets addressed refcount, split, flag-clearing, bounds, stale-mapping and DMA-unmap bugs in the low-memory fallback path for device-private transparent huge page migration. The changes were posted to dri-devel for GPU memory management. Correct migration behavior is required to avoid leaks and corruption when device memory is under pressure.

pfn_mkwrite and fixup_user_fault interaction repaired

Paolo Bonzini posted a v2 six-patch series fixing the interaction of .pfn_mkwrite with fixup_user_fault for VM_IO and VM_PFNMAP regions used by KVM and DRM. The series landed on dri-devel for review. The correction prevents incorrect fault handling in virtualized graphics setups.