Page MenuHomeFreeBSD

xen-netfront: release grant references used for the shared rings
ClosedPublic

Authored by royger on May 27 2016, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 5:41 PM
Unknown Object (File)
Wed, Dec 4, 10:32 AM
Unknown Object (File)
Sun, Dec 1, 12:25 PM
Unknown Object (File)
Sep 25 2024, 7:26 AM
Unknown Object (File)
Sep 21 2024, 9:57 PM
Unknown Object (File)
Sep 20 2024, 3:22 PM
Unknown Object (File)
Sep 17 2024, 8:20 PM
Unknown Object (File)
Sep 17 2024, 5:55 PM
Subscribers

Details

Summary

Just calling gnttab_end_foreign_access_ref doesn't free the references,
instead call gnttab_end_foreign_access with a NULL page argument in order to
have the grant references freed. The code that maps the ring
(xenbus_map_ring) already uses gnttab_grant_foreign_access which takes care
of allocating a grant reference.

Sponsored by: Citrix Systems R&D

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

royger retitled this revision from to xen-netfront: release grant references used for the shared rings.
royger updated this object.
royger edited the test plan for this revision. (Show Details)
royger added a reviewer: liuw_liuw.name.
This revision was automatically updated to reflect the committed changes.