[PATCH 6/8] iommu/intel: Add a gfp parameter to alloc_pgtable_page()

Tian, Kevin kevin.tian at intel.com
Tue Jan 17 03:35:08 UTC 2023


> From: Jason Gunthorpe <jgg at nvidia.com>
> Sent: Saturday, January 7, 2023 12:43 AM
> 
> @@ -2676,7 +2676,7 @@ static int copy_context_table(struct intel_iommu
> *iommu,
>  			if (!old_ce)
>  				goto out;
> 
> -			new_ce = alloc_pgtable_page(iommu->node);
> +			new_ce = alloc_pgtable_page(iommu->node,
> GFP_KERNEL);

GFP_ATOMIC


More information about the dri-devel mailing list