From: Ian Campbell Date: Fri, 6 Dec 2013 17:55:56 +0000 (+0000) Subject: xen: privcmd: do not return pages which we have failed to unmap X-Git-Tag: v3.13-rc5~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6497b383f65dd1bc60ea1f5d70e157a268fbd15;p=pandora-kernel.git xen: privcmd: do not return pages which we have failed to unmap This failure represents a hypervisor issue, but if it does occur then nothing good can come of returning pages which still refer to a foreign owned page into the general allocation pool. Instead we are forced to leak them. Log that we have done so. The potential for failure only exists for autotranslated guest (e.g. ARM and x86 PVH). Signed-off-by: Ian Campbell Signed-off-by: Stefano Stabellini Reviewed-by: David Vrabel --- Reading git-diff-tree failed