summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2015-01-05 18:06:01 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-01-28 15:03:10 +0100
commit0bb599fd30108883b00c7d4a226eeb49111e6932 (patch)
treee7939c55ff9b95a2eb180884bea213c1b78eb863 /drivers/net/xen-netback
parentxen/grant-table: pre-populate kernel unmap ops for xen_gnttab_unmap_refs() (diff)
downloadlinux-0bb599fd30108883b00c7d4a226eeb49111e6932.tar.xz
linux-0bb599fd30108883b00c7d4a226eeb49111e6932.zip
xen: remove scratch frames for ballooned pages and m2p override
The scratch frame mappings for ballooned pages and the m2p override are broken. Remove them in preparation for replacing them with simpler mechanisms that works. The scratch pages did not ensure that the page was not in use. In particular, the foreign page could still be in use by hardware. If the guest reused the frame the hardware could read or write that frame. The m2p override did not handle the same frame being granted by two different grant references. Trying an M2P override lookup in this case is impossible. With the m2p override removed, the grant map/unmap for the kernel mappings (for x86 PV) can be easily batched in set_foreign_p2m_mapping() and clear_foreign_p2m_mapping(). Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'drivers/net/xen-netback')
0 files changed, 0 insertions, 0 deletions