Re: [Xen-devel] [XEN PATCH] Check zone before merging adjacent blocks in heap

2020-02-04 Thread Stewart Hildebrand
On Tuesday, February 4, 2020 9:30 AM, Stewart Hildebrand wrote: >diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c >index 97902d42c1..7d39dd5be0 100644 >--- a/xen/common/page_alloc.c >+++ b/xen/common/page_alloc.c >@@ -1462,6 +1462,7 @@ static void free_heap_pages( > if (

[Xen-devel] [XEN PATCH] Check zone before merging adjacent blocks in heap

2020-02-04 Thread Stewart Hildebrand
From: Jeff Kubascik The Xen heap is split up into nodes and zones. Each node + zone is managed as a separate pool of memory. When returning pages to the heap, free_heap_pages will check adjacent blocks to see if they can be combined into a larger block. However, the zone of the adjacent block