diff options
author | 2022-06-02 22:23:47 +0300 | |
---|---|---|
committer | 2022-06-06 08:54:35 +0200 | |
commit | 02a9e681a3f7998074f39ec265080bf934871530 (patch) | |
tree | 8cb2d7887ecc0d5a875bbebbaed870a2e45f44d7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | arm/xen: Introduce xen_setup_dma_ops() (diff) | |
download | linux-dev-02a9e681a3f7998074f39ec265080bf934871530.tar.xz linux-dev-02a9e681a3f7998074f39ec265080bf934871530.zip |
xen/grants: support allocating consecutive grants
For support of virtio via grant mappings in rare cases larger mappings
using consecutive grants are needed. Support those by adding a bitmap
of free grants.
As consecutive grants will be needed only in very rare cases (e.g. when
configuring a virtio device with a multi-page ring), optimize for the
normal case of non-consecutive allocations.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/1654197833-25362-3-git-send-email-olekstysh@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions