Re: [PATCH v7 10/20] gunyah: rsc_mgr: Add resource manager RPC core

From: Elliot Berman
Date: Thu Jan 26 2023 - 16:27:45 EST




On 12/15/2022 6:25 PM, Elliot Berman wrote:


On 12/12/2022 10:26 PM, Greg Kroah-Hartman wrote:
On Mon, Dec 12, 2022 at 03:46:53PM -0800, Elliot Berman wrote:

Reference counting is not needed on the gh_rm_rpc object because its only
client (the VM manager) is torn down before the gh_rm_rpc.

So again, who controls the lifecycle of it?  Where is the reference
count for the structure as it is pointing to reference counted memory?

Had some internal review and I think I'm now taking better care of this (and the device situation in the other mail). I will send out next revision soon.

Hello Greg,

I've sent v9 series and wanted to get your feedback on the changes to the patches that you had suggested.

https://lore.kernel.org/all/20230120224627.4053418-10-quic_eberman@xxxxxxxxxxx/

Thanks,
Elliot