Re: [PATCH RFC sparc] Break up iommu from monolithic lock for the map to multiple pools/locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sowmini Varadhan <sowmini.varadhan@xxxxxxxxxx>
Date: Fri, 19 Dec 2014 15:44:54 -0500

> On (12/19/14 15:24), David Miller wrote:
>> > 
>> > sounds good, I'll do this and get back over the next week.
>> > (Some things like the demap function pointer may need to be
>> > generalized a bit, e.g., pass  the iommu_pool * to the callback for
>> > other archs)
>> 
>> It might be cleaner to have a "const struct iommu_ops *" kind of thing
>> in the base iommu structure.
> 
> Agreed. The powerpc iommu_table also has a large_pool that I did
> not look too carefully into - used for allocating  npages > 15 , iirc.  
> I dont know how commonly that happens. 

That large_pool mechanism might help prevent the other pools from
getting fragmented and thus lead to premature allocation failures.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux