Messages in this thread | | | Date | Tue, 23 Aug 2022 11:36:57 +0200 | Subject | Re: [PATCH v2 1/8] memblock tests: update tests to check if memblock_alloc zeroed memory | From | David Hildenbrand <> |
| |
On 19.08.22 10:34, Rebecca Mckeever wrote: > Add an assert in memblock_alloc() tests where allocation is expected to > occur. The assert checks whether the entire chunk of allocated memory is > cleared. > > The current memblock_alloc() tests do not check whether the allocated > memory was zeroed. memblock_alloc() should zero the allocated memory since > it is a wrapper for memblock_alloc_try_nid(). > > Reviewed-by: Shaoqin Huang <shaoqin.huang@intel.com> > Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
-- Thanks,
David / dhildenb
| |