From: Tianyu Lan <ltykernel@gmail.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: corbet@lwn.net, m.szyprowski@samsung.com, robin.murphy@arm.com,
paulmck@kernel.org, bp@suse.de, akpm@linux-foundation.org,
keescook@chromium.org, pmladek@suse.com, rdunlap@infradead.org,
damien.lemoal@opensource.wdc.com, michael.h.kelley@microsoft.com,
kys@microsoft.com, Tianyu Lan <Tianyu.Lan@microsoft.com>,
iommu@lists.linux-foundation.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, vkuznets@redhat.com,
wei.liu@kernel.org, parri.andrea@gmail.com,
thomas.lendacky@amd.com, linux-hyperv@vger.kernel.org,
kirill.shutemov@intel.com, andi.kleen@intel.com,
Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH V3] swiotlb: Split up single swiotlb lock
Date: Sat, 9 Jul 2022 00:21:44 +0800 [thread overview]
Message-ID: <fdcf093c-4a42-ddb7-abc6-c595cb92763e@gmail.com> (raw)
In-Reply-To: <YscStPk/IXW9PPmh@infradead.org>
On 7/8/2022 1:07 AM, Christoph Hellwig wrote:
> Thanks, this looks much better. I think there is a small problem
> with how default_nareas is set - we need to use 0 as the default
> so that an explicit command line value of 1 works. Als have you
> checked the interaction with swiotlb_adjust_size in detail?
Yes, the patch was tested in the Hyper-V SEV VM which always calls
swiotlb_adjust_size() to adjust bounce buffer size according to memory
size. It will round up bounce buffer size to the next power of 2 if the
memory size is not power of 2.
prev parent reply other threads:[~2022-07-08 16:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-07 8:24 [PATCH V3] swiotlb: Split up single swiotlb lock Tianyu Lan
2022-07-07 17:07 ` Christoph Hellwig
2022-07-08 16:21 ` Tianyu Lan [this message]
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=fdcf093c-4a42-ddb7-abc6-c595cb92763e@gmail.com \
--to=ltykernel@gmail.com \
--cc=Tianyu.Lan@microsoft.com \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=andi.kleen@intel.com \
--cc=bp@suse.de \
--cc=corbet@lwn.net \
--cc=damien.lemoal@opensource.wdc.com \
--cc=hch@infradead.org \
--cc=iommu@lists.linux-foundation.org \
--cc=keescook@chromium.org \
--cc=kirill.shutemov@intel.com \
--cc=kys@microsoft.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=michael.h.kelley@microsoft.com \
--cc=parri.andrea@gmail.com \
--cc=paulmck@kernel.org \
--cc=pmladek@suse.com \
--cc=rdunlap@infradead.org \
--cc=robin.murphy@arm.com \
--cc=thomas.lendacky@amd.com \
--cc=vkuznets@redhat.com \
--cc=wei.liu@kernel.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 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).