Re: Requirements to merge new heaps in the kernel
From: metux
Date: Wed Oct 30 2024 - 07:16:06 EST
On 22.10.24 10:38, Maxime Ripard wrote:
Hi,
I'm still interested in merging a carve-out driver[1], since it seems to be
in every vendor BSP and got asked again last week.
I remember from our discussion that for new heap types to be merged, we
needed a kernel use-case. Looking back, I'm not entirely sure how one
can provide that given that heaps are essentially facilities for
user-space.
For those who didn't follow your work, could you please give a short
intro what's that all about ?
If I understand you correctly, you'd like the infrastructure of
kmalloc() et al for things / memory regions that aren't the usual heap,
right ?
What's the practical use case ? GPU memory ? Shared memory between
nodes in a multi-CPU / cluster machine ?
Is it related to NUMA ?
thx
--mtx