[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V2] xen/arm: mm: fix nr_second calculation in setup_frametable_mappings



On Mon, May 16, 2016 at 10:36:11AM +0100, Julien Grall wrote:
> (CC Wei for Xen 4.7)
> 
> Hi,
> 
> On 12/05/16 14:03, Peng Fan wrote:
> >On ARM64, "frametable_size >> SECOND_SHIFT" computes the number
> >of second level entries, not the number of second level pages.
> >
> >"ROUNDUP(frametable_size, FIRST_SIZE) >> FIRST_SHIFT" which computes
> >the number of the first level entries (the number of second level pages),
> >is the correct one that should be used.
> >
> >Signed-off-by: Peng Fan <van.freenix@xxxxxxxxx>
> >Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> >Cc: Julien Grall <julien.grall@xxxxxxx>
> 
> Reviewed-by: Julien Grall <julien.grall@xxxxxxx>

Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.