Page MenuHomeFreeBSD

xen/grant-table: remove explicit linear mapping additions
AcceptedPublic

Authored by royger on Tue, Apr 6, 11:20 AM.

Details

Summary

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
rman_get_virtual.

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 38356
Build 35245: arc lint + arc unit