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

Re: [Xen-devel] [PATCH] x86/srat: fix the end pfn check in valid_numa_range()

On 12/02/18 01:44, Haozhong Zhang wrote:
> ... and fix the coding style on fly.
> valid_numa_range(..., epfn << PAGE_SHIFT, ...) and its only caller
> memory_add(..., epfn, pxm) interpret epfn inconsistently. The former
> interprets epfn as the last pfn, while the latter interprets it as the
> last pfn plus one. Fix this inconsistency in valid_numa_range(), since
> most of other places use the latter interpretation.
> Signed-off-by: Haozhong Zhang <haozhong.zhang@xxxxxxxxx>

Acked-by: Andrew Cooper <andrew.cooper@xxxxxxxxxx>

Xen-devel mailing list



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