Home
last modified time | relevance | path

Searched hist:"3909213 cfd9224cb1827d557fb6eb5ebdb8ddcbe" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/virtio/
H A Dvirtio_pci_common.hdiff 3909213cfd9224cb1827d557fb6eb5ebdb8ddcbe Wed Jan 14 17:50:55 CET 2015 Michael S. Tsirkin <mst@redhat.com> virtio_pci_modern: reduce number of mappings

We don't know the # of VQs that drivers are going to use so it's hard to
predict how much memory we'll need to map. However, the relevant
capability does give us an upper limit.
If that's below a page, we can reduce the number of required
mappings by mapping it all once ahead of the time.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
H A Dvirtio_pci_modern.cdiff 3909213cfd9224cb1827d557fb6eb5ebdb8ddcbe Wed Jan 14 17:50:55 CET 2015 Michael S. Tsirkin <mst@redhat.com> virtio_pci_modern: reduce number of mappings

We don't know the # of VQs that drivers are going to use so it's hard to
predict how much memory we'll need to map. However, the relevant
capability does give us an upper limit.
If that's below a page, we can reduce the number of required
mappings by mapping it all once ahead of the time.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>