[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] new interface: memory_object_get_proxy

From: Sergey Bugaev
Subject: Re: [PATCH] new interface: memory_object_get_proxy
Date: Mon, 1 Nov 2021 13:05:47 +0300

On Mon, Nov 1, 2021 at 12:33 PM Joan Lledó <jlledom@mailfence.com> wrote:
> Thanks for your explanations, it makes sense but there's still one thing I 
> don't understand: if memory_object_create_proxy() is the owner of the pager 
> it receives as parameter, and the caller doesn't care about releasing it, 
> then where is it released?

When the proxy itself is destroyed. Namely, in
memory_object_proxy_notify () there's a ipc_port_release_send
(proxy->object) call.

> I modified my patch to met all your points, I assumed the function to release 
> the reference is ipc_port_release_send(). Tell me if I'm wrong.

Yeah, I think that's one one.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]