>>> On 23.04.19 at 17:49, <andrew.coop...@citrix.com> wrote:
> Previous attempts to fix this leak failed to identify the root cause, and
> ultimately failed.  The cause is the CPU_UP_PREPARE case (re)initialising
> ts->heap back to dummy_heap, which leaks the previous allocation.
> 
> Rearrange the logic to only initialise ts once.  This also avoids the
> redundant (but benign, due to ts->inactive always being empty) initialising of
> the other ts fields.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to