If this fails:Any idea why that's happening? This fix seems ok but if we're expectingIt's not specifically that we expect them (allocation failures for the
allocation failures for the loaded magazine then we could easily get it
for cpu_rcaches too, and get a similar abort at runtime.
loaded magazine), rather we should make safe against it.
So could you be more specific in your concern for the cpu_rcache failure?
cpu_rcache magazine assignment comes from this logic.
drivers/iommu/iova.c:847: rcache->cpu_rcaches = __alloc_percpu(sizeof(*cpu_rcache), cache_line_size());
then we'll get an Oops in __iova_rcache_get(). So if we're making the
module safer against magazine allocation failure, shouldn't we also
protect against cpu_rcaches allocation failure?