[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.
Sergey
- Re: [PATCH] new interface: memory_object_get_proxy, (continued)
- Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/11/01
- Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/11/01
- Re: [PATCH] new interface: memory_object_get_proxy, Samuel Thibault, 2021/11/01
- Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/11/01
- Re: [PATCH] new interface: memory_object_get_proxy, Samuel Thibault, 2021/11/01
- Re: [PATCH] new interface: memory_object_get_proxy, Joan Lledó, 2021/11/01
- Re: [PATCH] new interface: memory_object_get_proxy, Joan Lledó, 2021/11/06
- [PATCH 1/2] new interface: memory_object_get_proxy, Joan Lledó, 2021/11/06
- [PATCH 2/2] Memory proxies: Add support for anonymous mappings, Joan Lledó, 2021/11/06
- Re: [PATCH] new interface: memory_object_get_proxy, Samuel Thibault, 2021/11/07
Re: [PATCH] new interface: memory_object_get_proxy,
Sergey Bugaev <=
Re: [PATCH] new interface: memory_object_get_proxy, Sergey Bugaev, 2021/11/04