All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org, Jason Wang <jasowang@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 2/4] intel_iommu: let iotlb size tunable
Date: Fri, 14 Jul 2017 12:31:36 +0800	[thread overview]
Message-ID: <20170714043136.GJ27284@pxdev.xzpeter.org> (raw)
In-Reply-To: <20170713204619-mutt-send-email-mst@kernel.org>

On Thu, Jul 13, 2017 at 08:47:00PM +0300, Michael S. Tsirkin wrote:
> On Wed, Jul 12, 2017 at 04:13:41PM +0800, Peter Xu wrote:
> > We were having static IOTLB size as 1024. Let it be a tunable. We can
> > also turns IOTLB off if we want, by specify the size as zero.
> > 
> > The tunable is named as "x-iotlb-size" since that should not really be
> > something used by user yet, but mostly for debugging purpose now.
> > 
> > Signed-off-by: Peter Xu <peterx@redhat.com>
> 
> I'm somewhat vary of adding tunables just for developers to play with.
> People will find and abuse them :)

I would think it convenient (especially with "x-") and I would never
worry about people using it (I really see nothing dangerous...). But
if you don't like it, I can drop it in next version for sure.

Thanks,

-- 
Peter Xu

  reply	other threads:[~2017-07-14  4:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12  8:13 [Qemu-devel] [PATCH v3 0/4] VT-d: some enhancements on iotlb Peter Xu
2017-07-12  8:13 ` [Qemu-devel] [PATCH v3 1/4] intel_iommu: fix VTD_PAGE_MASK Peter Xu
2017-07-13  8:41   ` Jason Wang
2017-07-14  4:27     ` Peter Xu
2017-07-12  8:13 ` [Qemu-devel] [PATCH v3 2/4] intel_iommu: let iotlb size tunable Peter Xu
2017-07-13 17:47   ` Michael S. Tsirkin
2017-07-14  4:31     ` Peter Xu [this message]
2017-07-12  8:13 ` [Qemu-devel] [PATCH v3 3/4] intel_iommu: use access_flags for iotlb Peter Xu
2017-07-12  8:13 ` [Qemu-devel] [PATCH v3 4/4] intel_iommu: implement mru list " Peter Xu
2017-07-13  8:48   ` Jason Wang
2017-07-14  4:32     ` Peter Xu
2017-07-14  7:28       ` Jason Wang
2017-07-17  1:53         ` Peter Xu
2017-07-26 20:37           ` Michael S. Tsirkin
2017-07-27  2:19             ` Peter Xu
2017-07-13 17:49   ` Michael S. Tsirkin
2017-07-14  4:43     ` Peter Xu

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=20170714043136.GJ27284@pxdev.xzpeter.org \
    --to=peterx@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.