]> xenbits.xensource.com Git - xen.git/commit
xen: arm: process XENMEM_add_to_physmap_range forwards not backwards.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 18 Dec 2013 13:39:14 +0000 (13:39 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Dec 2013 14:14:17 +0000 (14:14 +0000)
commitcd50b8cae268fc66969e2f3858e79c244a0eea0b
tree10441880e7573a4d822806153b82345645707716
parent5d81d015539535fb7f79383c7b9d49253b5209fe
xen: arm: process XENMEM_add_to_physmap_range forwards not backwards.

Jan points out that processing the list backwards is rather counter intuitive
and that the effect of the hypercall can differ between forwards and backwards
processing (e.g. in the presence of duplicate idx or gpfn, which would be
unusual but as Jan says, users are a creative bunch)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Cc: Mukesh Rathor <mukesh.rathor@oracle.com>
xen/arch/arm/mm.c