Thread (16 messages) 16 messages, 3 authors, 2026-02-11

Re: [PATCH -next v8 2/3] rust: gpu: Add GPU buddy allocator bindings

flat view

From: Joel Fernandes <joelagnelf@nvidia.com>
Date: 2026-02-10 22:07:03
Also in: amd-gfx, dri-devel, intel-gfx, intel-xe, linux-doc, lkml, nouveau, rust-for-linux


On 2/10/2026 4:10 PM, Danilo Krummrich wrote:
quoted
I'll change this to return `impl PinInit<AllocatedBlocks, Error>` in the next
version. If a shared ownership use case arises later, we
can always add an `Arc`-returning convenience wrapper.
I don't think we should, don't give drivers a reason to go for more allocations
they actually need for convinience.
I wasn't implying to give reason to go for more allocations, it is about a
reference to the same allocation that may be required to be shared from multiple
objects for whatever reason. But again, currently we don't have a use case for that.

-- 
Joel Fernandes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help