[PATCH] memblock: stop using implicit alignement to SMP_CACHE_BYTES

Paul Burton paul.burton at mips.com
Wed Oct 10 10:01:40 AEDT 2018


Hi Mike,

On Fri, Oct 05, 2018 at 12:07:04AM +0300, Mike Rapoport wrote:
> When a memblock allocation APIs are called with align = 0, the alignment is
> implicitly set to SMP_CACHE_BYTES.
> 
> Replace all such uses of memblock APIs with the 'align' parameter explicitly
> set to SMP_CACHE_BYTES and stop implicit alignment assignment in the
> memblock internal allocation functions.
> 
>%
> 
> Suggested-by: Michal Hocko <mhocko at suse.com>
> Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>

  Acked-by: Paul Burton <paul.burton at mips.com> # MIPS part

Thanks,
    Paul


More information about the Linuxppc-dev mailing list