From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9FC27A00C4; Mon, 25 Jul 2022 22:32:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42F1E40697; Mon, 25 Jul 2022 22:32:25 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 1563540684 for ; Mon, 25 Jul 2022 22:32:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658781143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yw5P7tKwtP7hskrxIGKfSeHpnF4LR+magpnn7kH6ASo=; b=VGDaXSpvYSeZuKYK1ri+JOo1j9m5HcpIFdaYx1Fu6ABbqbloNghOnyNG84JmE1VeYvmeJM BfXrIU+4Q2H4RzBgMJYVPSyMcR10NFd4OKYLJjNtVFxjUt+TMyd9V/sTXoGRepMcN8k4CV QinVKb9dJd2MuO73qqKCerQ94AIIYPQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-644-hLqkzDj2NZSUkhuhe66L6g-1; Mon, 25 Jul 2022 16:32:21 -0400 X-MC-Unique: hLqkzDj2NZSUkhuhe66L6g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C9E1E3801F4C for ; Mon, 25 Jul 2022 20:32:19 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.192.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 59368141511F for ; Mon, 25 Jul 2022 20:32:19 +0000 (UTC) From: David Marchand To: dev@dpdk.org Subject: [PATCH v3 0/4] vHost IOTLB cache rework Date: Mon, 25 Jul 2022 22:32:02 +0200 Message-Id: <20220725203206.427083-1-david.marchand@redhat.com> In-Reply-To: <20220722135320.109269-1-david.marchand@redhat.com> References: <20220722135320.109269-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This series aim was initially to solve a scalability issue with the IOTLB cache code. But along the way, I tried to make the code a bit more robust by unifying how the device and virtqueue are passed around. -- David Marchand David Marchand (4): vhost: fix vq use after free on numa reallocation vhost: make numa reallocation code more robust vhost: keep a reference to virtqueue index vhost: stop using mempool for IOTLB cache lib/vhost/iotlb.c | 105 +++++++++++++++----------- lib/vhost/iotlb.h | 3 +- lib/vhost/vhost.c | 74 +++++++----------- lib/vhost/vhost.h | 7 +- lib/vhost/vhost_user.c | 167 +++++++++++++++++++---------------------- lib/vhost/virtio_net.c | 86 ++++++++++----------- 6 files changed, 212 insertions(+), 230 deletions(-) -- 2.36.1