]> xenbits.xensource.com Git - xen.git/commit
x86/mm: fix checks against max_mapped_pfn
authorJan Beulich <jbeulich@suse.com>
Mon, 12 May 2014 15:30:04 +0000 (17:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 May 2014 15:30:04 +0000 (17:30 +0200)
commitcaa22c1e73b700eb9ac779f9e154f13d61e48c48
treeb764b456666d2aebe6bf501a686cbfd2ec32f94b
parent560d630110f9f11fe6a0bd18522d0e2bea9ab401
x86/mm: fix checks against max_mapped_pfn

This value is an inclusive one, i.e. this fixes an off-by-one in memory
sharing and an off-by-two in shadow code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
master commit: 088ee1d47b65d6bb92de61b404805f4ca92e3240
master date: 2014-04-03 12:08:43 +0100
xen/arch/x86/mm/mem_sharing.c
xen/arch/x86/mm/shadow/common.c