lkml.org 
[lkml]   [2022]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V3] swiotlb: Split up single swiotlb lock
From
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.

\
 
 \ /
  Last update: 2022-07-08 18:23    [W:0.064 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site