From: "Xia, Chenbo" <chenbo.xia@intel.com>
To: David Marchand <david.marchand@redhat.com>,
"dev@dpdk.org" <dev@dpdk.org>
Cc: Maxime Coquelin <maxime.coquelin@redhat.com>
Subject: RE: [PATCH] vhost: reduce memory footprint when IOMMU is disabled
Date: Thu, 22 Sep 2022 13:08:43 +0000 [thread overview]
Message-ID: <SN6PR11MB35045451649CAB579753890C9C4E9@SN6PR11MB3504.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20220916090202.1190834-1-david.marchand@redhat.com>
> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Friday, September 16, 2022 5:02 PM
> To: dev@dpdk.org
> Cc: Maxime Coquelin <maxime.coquelin@redhat.com>; Xia, Chenbo
> <chenbo.xia@intel.com>
> Subject: [PATCH] vhost: reduce memory footprint when IOMMU is disabled
>
> If an application does not request IOMMU support, we can avoid
> allocating a IOMMU pool.
>
> This saves 112kB (IOTLB_CACHE_SIZE * sizeof(struct vhost_iotlb_entry))
> per vq.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> lib/vhost/iotlb.c | 20 +++++++++++---------
> lib/vhost/socket.c | 4 +++-
> lib/vhost/vhost.c | 7 ++++++-
> lib/vhost/vhost.h | 5 ++++-
> 4 files changed, 24 insertions(+), 12 deletions(-)
The compilation issue seems not related to this patch.
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
next prev parent reply other threads:[~2022-09-22 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-16 9:02 David Marchand
2022-09-22 13:08 ` Xia, Chenbo [this message]
2022-09-29 8:39 ` Xia, Chenbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SN6PR11MB35045451649CAB579753890C9C4E9@SN6PR11MB3504.namprd11.prod.outlook.com \
--to=chenbo.xia@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=maxime.coquelin@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).