"Waste-Free Per-CPU Userspace Memory Allocation" ( 2025 )

Sunday at 11:30, 30 minutes, UD2.208 (Decroly), UD2.208 (Decroly), Kernel Mathieu Desnoyers , slides , video

Introduce the librseq per-CPU user-space memory allocator. It implements concepts similar to the Linux kernel percpu allocator in userspace, and thus reduces waste of per-CPU data structures hot cache lines by eliminating padding usually required to eliminate false-sharing, and in addition tackles issues that arise from resident memory waste when restricting processes with scheduler affinity or cpusets.

It allows prototyping kernel algorithms within the safe limits of user-space.