powerpc/powernv: Don't use the vmem quantum cache for OPAL PCI MSI allocations
vmem quantum cache is only needed when doing a lot of concurrent allocations, which doesn't happen when allocating MSIs. This wastes memory for the cache zones. Avoid this waste and don't use the quantum cache. Reported by: markj
This commit is contained in:
parent
76d5f5e22c
commit
46e8ab5aa1
@ -427,7 +427,7 @@ opalpci_attach(device_t dev)
|
||||
sc->msi_base = msi_ranges[0];
|
||||
|
||||
sc->msi_vmem = vmem_create("OPAL MSI", msi_ranges[0],
|
||||
msi_ranges[1], 1, 16, M_BESTFIT | M_WAITOK);
|
||||
msi_ranges[1], 1, 0, M_BESTFIT | M_WAITOK);
|
||||
|
||||
sc->base_msi_irq = powerpc_register_pic(dev,
|
||||
OF_xref_from_node(node),
|
||||
|
Loading…
x
Reference in New Issue
Block a user