summaryrefslogtreecommitdiffstats
path: root/fs/ext2
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-01-14 17:50:55 +0100
committerRusty Russell <rusty@rustcorp.com.au>2015-01-21 06:58:55 +0100
commit3909213cfd9224cb1827d557fb6eb5ebdb8ddcbe (patch)
treef916c7f35438e2213640c3db90bac2caa4e31adc /fs/ext2
parentvirtio_pci: macros for PCI layout offsets (diff)
downloadlinux-3909213cfd9224cb1827d557fb6eb5ebdb8ddcbe.tar.xz
linux-3909213cfd9224cb1827d557fb6eb5ebdb8ddcbe.zip
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>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions