linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] Waste-Free Per-CPU Userspace Memory Allocation
@ 2025-01-28 15:23 Mathieu Desnoyers
  2025-04-08 14:29 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2025-01-28 15:23 UTC (permalink / raw)
  To: lsf-pc; +Cc: linux-mm

Hi,

I submit this topic proposal for your consideration:

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.

I hope gathering feedback from MM experts about shortcomings of the
proposed approach.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-08 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-28 15:23 [LSF/MM/BPF TOPIC] Waste-Free Per-CPU Userspace Memory Allocation Mathieu Desnoyers
2025-04-08 14:29 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox