lkml.org 
[lkml]   [2022]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 10/11] iommu/vt-d: Use device_domain_lock accurately
From
On 2022/7/1 16:15, Tian, Kevin wrote:
>> From: Lu Baolu <baolu.lu@linux.intel.com>
>> Sent: Wednesday, June 29, 2022 3:47 PM
>>
>> + spin_lock_irqsave(&device_domain_lock, flags);
>> list_for_each_entry(info, &domain->devices, link) {
>> - if (!info->dev)
>> - continue;
>> -
>
> suppose you can replace all spin_lock_irqsave() with spin_lock()
> in patch5 instead of leaving some replacement to next patch.
>

Make sense to me. Will update this.

Best regards,
baolu

\
 
 \ /
  Last update: 2022-07-03 06:36    [W:0.091 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site