aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2013-08-04 15:39:40 +0100
committerKonrad Rzeszutek Wilk <[email protected]>2013-08-09 11:23:24 -0400
commitcd9151e26d31048b2b5e00fd02e110e07d2200c9 (patch)
treee1d5d1bc01d0835ffc359aea7efbb0fbb14ba4e5 /net/lapb/lapb_iface.c
parent73cc4bb0c79eebe1f0e92b700d9fe8d1c9b061bb (diff)
xen/balloon: set a mapping for ballooned out pages
Currently ballooned out pages are mapped to 0 and have INVALID_P2M_ENTRY in the p2m. These ballooned out pages are used to map foreign grants by gntdev and blkback (see alloc_xenballooned_pages). Allocate a page per cpu and map all the ballooned out pages to the corresponding mfn. Set the p2m accordingly. This way reading from a ballooned out page won't cause a kernel crash (see http://lists.xen.org/archives/html/xen-devel/2012-12/msg01154.html). Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: David Vrabel <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions