Re: [PATCH 2/3] mm: use vmalloc_array and vcalloc for array allocations

From: David Hildenbrand
Date: Tue Mar 08 2022 - 09:27:49 EST


On 08.03.22 11:59, Paolo Bonzini wrote:
> Instead of using array_size or just a multiply, use a function that
> takes care of both the multiplication and the overflow checks.
>
> Cc: linux-mm@xxxxxxxxx
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>


--
Thanks,

David / dhildenb