iommu: do not attempt reclaim on higher order allocs
Attempting reclaim for non-zero order allocations can result in
the context blocked in reclaim for unpredictable amounts of time.
There are cases reported where dma_alloc_attrs gets blocked for
20+ seconds for an allocation of 200MB. Since higher order
allocation is not a necessity in the presence of iommu, avoid
reclaim.
Change-Id: I93f57e2ea5f7c57ec84a92911e2aae36112d95e1
Signed-off-by:
Vinayak Menon <vinmenon@codeaurora.org>
Loading
Please register or sign in to comment