On Thursday, November 9th, 2023 at 16:14, T.J. Mercier <tjmercier@xxxxxxxxxx> wrote: > > + exp_info.priv = vc4; / TODO: unregister when unloading */ > > + > > So unregistering a heap isn't currently possible, but we're trying to > enable that here: > https://lore.kernel.org/all/20231106120423.23364-7-yunfei.dong@xxxxxxxxxxxx/ Great! Note, I wouldn't actually need any ref'counting, a simpler function to always unregister would be enough for my purposes I think. But if you have an actual use-case for the ref'counting, that's completely fine for me as well.