freenode

← digests

Kernel lists: coverage, page size, and memory patches

Kernel & Low-Level2026-12-03

Large patch series on the kernel lists proposed unified code coverage, boot-time arm64 page size, and a shared page-attribute core, while a notrace change drew sharp pushback. Smaller series covered device trust before driver binding, vendored LZ4, clock-driver fixes, and BPF out-of-memory hooks.

Coverage series unifies gcov and KCOV, adds Clang MC/DC

A 19-patch series would fold gcov and KCOV into kernel/coverage/ and add Clang source-based coverage plus MC/DC. It also fixes interactions with noinstr. The change matters for kernel test coverage that today is split across tools and compilers.

arm64 RFC would pick page size at boot

An RFC of core patches would make the arm64 page size (4K, 16K, or 64K) selectable at boot from the command line. Page size is currently a build-time choice. One image could then cover configurations that now need separate kernels.

Moving notrace off inline draws maintainability objections

A 22-patch series would decouple notrace from inline and attach it to __always_inline instead. Peter Zijlstra called the approach unmaintainable garbage, and Masami raised recursion concerns. The dispute matters because tracing attributes and inlining touch a large share of kernel code.

RFC consolidates set_memory into a generic core

A 54-patch RFC would replace seven architecture-specific set_memory implementations with a generic memory-management change_page_attr core based on the x86 code. Shared page-attribute logic would cut duplicated arch code for permission changes.

Device trust check proposed before driver binding

Leon Romanovsky posted a 33-patch v4 series that authorizes device trust before a driver binds, covering PCI, USB, and IOMMU. Binding would then depend on a core trust decision rather than proceeding as soon as a driver matches.

LZ4 in-tree fork would be replaced by vendored upstream

A series would stop maintaining a hand-kept LZ4 fork and vendor upstream sources instead. It fixes bounds-check bugs and is intended to make later syncs with upstream easier.

Second clk batch fixes memory and rate bugs

Lee Jones posted a second batch of fixes for out-of-bounds writes, use-after-free bugs, ERR_PTR dereferences, and rate-calculation errors across multiple clk drivers. All of the fixes are marked for stable.

BPF OOM hooks proposed for programmable reclaim policy

A v4 patch set adds BPF struct_ops and kfuncs for programmable out-of-memory handling and proactive prevention in the OOM killer. Operators could attach policy in BPF instead of changing the killer for each policy variant.