On 06/27/2012 03:54 AM, Hiroshi DOYU wrote: > allo_pdir() is called in smmu_iommu_domain_init() with spin_lock > held. memory allocations in it have to be atomic/unsleepable.
Presumably this will cause allocation failures in situations with heavy memory pressure, rather than triggering swapping. Is it normal for IOMMU drivers to work that way? If so, I'm fine with it. Otherwise, can the allocations be performed before the spinlock is taken? _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
