RE: [RFC] XRC upstream merge reboot

Hefty, Sean
2011-07-21T16:06:12Z

> If you use file descriptors for the XRC domain, then when the last user of the
> domain exits, the domain
> gets destroyed (at least this is in OFED. Sean's code looks the same).
>
> In this case, the kernel cleanup code for the process should close the XRC
> domains opened by that
> process, so there is no leakage.
>
> When the last user of an XRC domain exits cleanly (or crashes), the domain
> should be destroyed.
> In this case, with Sean's design, the tgt qp's for the XRC domain should also
> be destroyed.
>
> Sean, is this correct?

This is correct.