Page MenuHomeFreeBSD

xen/grant-table: remove explicit linear mapping additions

Authored by royger on Apr 6 2021, 11:20 AM.
Referenced Files
Unknown Object (File)
Wed, May 17, 12:12 PM
Unknown Object (File)
Wed, May 10, 3:17 AM
Unknown Object (File)
May 3 2023, 8:12 PM
Unknown Object (File)
Apr 6 2023, 9:47 AM
Unknown Object (File)
Mar 24 2023, 1:18 AM
Unknown Object (File)
Mar 3 2023, 9:43 AM
Unknown Object (File)
Feb 15 2023, 6:41 AM
Unknown Object (File)
Feb 12 2023, 6:00 PM



There's no need to explicitly add linear mappings for the grant table
area, as the memory is allocated using xenmem_alloc and it should
already have a linear mapping that can be obtained using

While there also remove the return value of gnttab_map, since there's
no return value anymore.

Sponsored by: Citrix Systems R&D

Test Plan

Should be considered as a replacement for D29305

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

I'm unaware of any problems with this. Further changes elsewhere are required to make this function with my aarch64 tree, but that is a separate commit and this appears fine to me.

This revision is now accepted and ready to land.Apr 17 2021, 7:55 PM