Re: [PATCH 1/7] mm: allocate mm_cpumask dynamically based on nr_cpu_ids

From: Mike Galbraith
Date: Sun Jul 08 2018 - 10:44:56 EST


BTW, a second gripe ala the first, but wrt mm_init_cpumask(&efi_mm):

In function âbitmap_zeroâ,
inlined from âcpumask_clearâ at ./include/linux/cpumask.h:378:2,
inlined from âmm_init_cpumaskâ at ./include/linux/mm_types.h:504:2,
inlined from âefi_alloc_page_tablesâ at arch/x86/platform/efi/efi_64.c:235:2:
./include/linux/bitmap.h:208:3: warning: âmemsetâ writing 64 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
memset(dst, 0, len);
^~~~~~~~~~~~~~~~~~~