]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/powernv: Don't use the vmem quantum cache for OPAL PCI MSI allocations
authorjhibbits <jhibbits@FreeBSD.org>
Wed, 10 Jun 2020 04:08:16 +0000 (04:08 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Wed, 10 Jun 2020 04:08:16 +0000 (04:08 +0000)
commitf978a6f385e7fd60260e2f1ce7356beb6715d87e
tree9fecd642d4cb5f311d17ca45be21daa8b9a9e0a3
parent7e8f8f4d454f5ccc9093ed3f8cf32d1bf8d948bc
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
sys/powerpc/powernv/opal_pci.c