ubject: Re: [PATCH v3 2/6] xen: do not merge reserved pages in
> free_heap_pages()
>
> On 27.04.2022 11:27, Penny Zheng wrote:
> > There is a slim chance that free_heap_pages() may decide to merge a
> > chunk from the static region(PGC_reserved) with the about-to-be-free
>
On 27.04.2022 11:27, Penny Zheng wrote:
> There is a slim chance that free_heap_pages() may decide to merge a chunk
> from the static region(PGC_reserved) with the about-to-be-free chunk.
>
> So in order to avoid the above scenario, this commit updates free_heap_pages()
> to check whether the pred
Hi,
On 27/04/2022 10:27, Penny Zheng wrote:
There is a slim chance that free_heap_pages() may decide to merge a chunk
from the static region(PGC_reserved) with the about-to-be-free chunk.
This sentence tells me that the merge can happen but it doesn't tell me
the cases. I think the second part
There is a slim chance that free_heap_pages() may decide to merge a chunk
from the static region(PGC_reserved) with the about-to-be-free chunk.
So in order to avoid the above scenario, this commit updates free_heap_pages()
to check whether the predecessor and/or successor has PGC_reserved set,
whe