On Tue, 2025-12-16 at 17:01 -0500, Joel Fernandes wrote:
> Could the debugfs Rust abstraction add a directory lookup function
> `Dir::lookup(name)` method and allow creating sub directories under a known
> path?

Actually, that's an excellent idea.

>  This would let `probe()` find the module-created root directory without
> needing global state right? Then store references to this on a per-GPU basis
> that the GSP code can access. 

Yes, that would work.  I will try to implement this, but I suspect I will need 
help.

> Alternatively, the first probe can create the root
> directory, and subsequent probes reuse it without requiring module-level root.

How would the second probe know that it's not the first, and where would it 
look up the root Dir?

Reply via email to