summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-16 12:38:33 -0700
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-07-20 12:57:46 -0700
commitf89e048e76da7ac0b4c89e75606ca7a3422886b1 (patch)
treec195e708de7c5d6bf34accc40584b5cefda9ae92 /arch/x86/xen/enlighten.c
parent093d7b4639951ea3021a6f70d376c3ff31f4740c (diff)
downloadlinux-f89e048e76da7ac0b4c89e75606ca7a3422886b1.tar.gz
linux-f89e048e76da7ac0b4c89e75606ca7a3422886b1.tar.bz2
linux-f89e048e76da7ac0b4c89e75606ca7a3422886b1.zip
xen: make sure pages are really part of domain before freeing
Scan the set of pages we're freeing and make sure they're actually owned by the domain before freeing. This generally won't happen on a domU (since Xen gives us contigious memory), but it could happen if there are some hardware mappings passed through. We only bother going up to the highest page Xen actually claimed to give us, since there's definitely nothing of ours above that. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
0 files changed, 0 insertions, 0 deletions