diff options
author | 2022-04-28 09:01:03 +0200 | |
---|---|---|
committer | 2022-05-19 14:21:55 +0200 | |
commit | 7050096d07755c53f71e486af18475050cc4e04b (patch) | |
tree | d349d6a8581287ad96ceb2c563adc2ecc0ef4f5a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | xen: update ring.h (diff) | |
download | linux-dev-7050096d07755c53f71e486af18475050cc4e04b.tar.xz linux-dev-7050096d07755c53f71e486af18475050cc4e04b.zip |
xen/xenbus: add xenbus_setup_ring() service function
Most PV device frontends share very similar code for setting up shared
ring buffers:
- allocate page(s)
- init the ring admin data
- give the backend access to the ring via grants
Tearing down the ring requires similar actions in all frontends again:
- remove grants
- free the page(s)
Provide service functions xenbus_setup_ring() and xenbus_teardown_ring()
for that purpose.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions