Messages in this thread | | | Date | Tue, 8 Mar 2022 15:26:36 +0100 | Subject | Re: [PATCH 1/3] mm: vmalloc: introduce array allocation functions | From | David Hildenbrand <> |
| |
On 08.03.22 11:59, Paolo Bonzini wrote: > Linux has dozens of occurrences of vmalloc(array_size()) and > vzalloc(array_size()). Allow to simplify the code by providing > vmalloc_array and vcalloc, as well as the underscored variants that let > the caller specify the GFP flags. > > Cc: stable@vger.kernel.org > Cc: linux-mm@kvack.org > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
-- Thanks,
David / dhildenb
| |