]> xenbits.xensource.com Git - xen.git/commit
page-alloc: fix initialization of cross-node regions
authorJan Beulich <jbeulich@suse.com>
Tue, 26 Jul 2022 06:33:10 +0000 (08:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 26 Jul 2022 06:33:10 +0000 (08:33 +0200)
commitbd0bb8a0058b10ef6039b1a9a20ad982108d295c
treeb76142ff0d3d49db3af21d78f33797dee7701ecc
parentf1c719d5cd8ab4d5d4c8df139b9df3c2c47221d1
page-alloc: fix initialization of cross-node regions

Quite obviously to determine the split condition successive pages'
attributes need to be evaluated, not always those of the initial page.

Fixes: 72b02bc75b47 ("xen/heap: pass order to free_heap_pages() in heap init")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
xen/common/page_alloc.c