Re: [PATCH 14/40] vdpa: convert iova_tree to ref count based

2024-01-11 Thread Jason Wang
On Fri, Dec 8, 2023 at 2:50 AM Si-Wei Liu wrote: > > So that it can be freed from vhost_vdpa_cleanup on > the last deref. The next few patches will try to > make iova tree life cycle not depend on memory > listener, and there's possiblity to keep iova tree > around when memory mapping is not chang

Re: [PATCH 14/40] vdpa: convert iova_tree to ref count based

2023-12-11 Thread Eugenio Perez Martin
On Thu, Dec 7, 2023 at 7:50 PM Si-Wei Liu wrote: > > So that it can be freed from vhost_vdpa_cleanup on > the last deref. The next few patches will try to > make iova tree life cycle not depend on memory > listener, and there's possiblity to keep iova tree > around when memory mapping is not chang

[PATCH 14/40] vdpa: convert iova_tree to ref count based

2023-12-07 Thread Si-Wei Liu
So that it can be freed from vhost_vdpa_cleanup on the last deref. The next few patches will try to make iova tree life cycle not depend on memory listener, and there's possiblity to keep iova tree around when memory mapping is not changed across device reset. Signed-off-by: Si-Wei Liu --- net/v