Re: [PATCH] rust: iommu: add device lifetime to IoPageTable

From: Danilo Krummrich

Date: Fri Jul 03 2026 - 12:58:35 EST


On Fri Jul 3, 2026 at 8:44 AM CEST, Alice Ryhl wrote:
> I would suggest renaming this method to just `new()`.

Agreed.

> As for creating a device resoure version with DevresLt, I think that can
> be the secondary constructor and be called `new_devres()` or similar.

Other device resources use an into_devres() method consuming self. However, I
wouldn't add it until we have a valid use-case anyway.