Re: [Xen-devel] [PATCH] x86/srat: fix end calculation in nodes_cover_memory()

2018-02-13 Thread Andrew Cooper
On 13/02/18 17:11, Jan Beulich wrote: > Along the lines of commit 7226486767 ("x86/srat: fix the end pfn check > in valid_numa_range()") nodes_cover_memory() also doesn't consistently > use "end": It's set to an inclusive value initially, but then compared > to the exclusive "end" field of struct

[Xen-devel] [PATCH] x86/srat: fix end calculation in nodes_cover_memory()

2018-02-13 Thread Jan Beulich
Along the lines of commit 7226486767 ("x86/srat: fix the end pfn check in valid_numa_range()") nodes_cover_memory() also doesn't consistently use "end": It's set to an inclusive value initially, but then compared to the exclusive "end" field of struct node and also possibly set to nodes[j].start,