Re: [PATCH] xen/x86: drop redundant zeroing from cpu_initialize_context()

From: Boris Ostrovsky
Date: Thu Sep 16 2021 - 21:35:58 EST



On 9/16/21 11:05 AM, Jan Beulich wrote:
> Just after having obtained the pointer from kzalloc() there's no reason
> at all to set part of the area to all zero yet another time. Similarly
> there's no point explicitly clearing "ldt_ents".
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>


Reviewed-by: Boris Ostrovsky <boris.ostrvsky@xxxxxxxxxx>