-
由 Halil Pasic 提交于
To support protected virtualization cio will need to make sure the memory used for communication with the hypervisor is DMA memory. Let us introduce one global pool for cio. Our DMA pools are implemented as a gen_pool backed with DMA pages. The idea is to avoid each allocation effectively wasting a page, as we typically allocate much less than PAGE_SIZE. Signed-off-by: NHalil Pasic <pasic@linux.ibm.com> Reviewed-by: NSebastian Ott <sebott@linux.ibm.com> Reviewed-by: NCornelia Huck <cohuck@redhat.com> Reviewed-by: NMichael Mueller <mimu@linux.ibm.com> Tested-by: NMichael Mueller <mimu@linux.ibm.com> Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
bb99332a