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 predecessor and/or successor has PGC_reserved set, > when trying to merge the about-to-be-freed chunk with the predecessor > and/or successor. > > Signed-off-by: Penny Zheng <penny.zh...@arm.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> I think this also wants a Suggested-by or Reported-by (iirc) Julien? Jan