lkml.org 
[lkml]   [2023]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v3 3/5] iommu/sva: Stop using ioasid_set for SVA
Date
> From: Jacob Pan <jacob.jun.pan@linux.intel.com>
> Sent: Friday, February 17, 2023 8:00 AM
>
> + ret = ida_alloc_range(&iommu_global_pasid_ida, min, max,
> GFP_KERNEL);
> + if (ret < min)
> + goto out;

ioasid_alloc() currently uses GFP_ATOMIC.

since this is kind of a replacement w/o functional impact, it'd be cleaner
from bisect p.o.v. to have a separate patch changing GFP_ATOMIC
to GFP_KERNEL in ioasid_alloc() and then this patch.

\
 
 \ /
  Last update: 2023-03-27 00:31    [W:0.092 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site