mm-memblock-drop-warn-and-use-smp_cache_bytes-as-a-default-alignment.patch removed from -mm tree
[email protected]
maintainerSubject: [merged] mm-memblock-drop-warn-and-use-smp_cache_bytes-as-a-default-alignment.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:13:52 -0800
The patch titled
Subject: mm/memblock: drop WARN and use SMP_CACHE_BYTES as a default alignment
has been removed from the -mm tree. Its filename was
mm-memblock-drop-warn-and-use-smp_cache_bytes-as-a-default-alignment.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Grygorii Strashko <[email protected]>
Subject: mm/memblock: drop WARN and use SMP_CACHE_BYTES as a default alignment
Don't produce warning and interpret 0 as "default align" equal to SMP_CACHE_BYTES in case if caller of memblock_alloc_base_nid() doesn't specify alignment for the block (align == 0).
This is done in preparation of introducing common memblock alloc interface to make code behavior consistent. More details are in below thread :
https://lkml.org/lkml/2013/10/13/117.
---
mm/memblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/memblock.c renamed from mm/memblock.c~mm-memblock-drop-warn-and-use-smp_cache_bytes-as-a-default-alignment +2 -2
@@ -969,8 +969,8 @@ static phys_addr_t __init memblock_alloc {phys_addr_t found; -if (WARN_ON (!align)) - align = __alignof__(long long ); +if (!align) + align =SMP_CACHE_BYTES ;/* align @size to avoid excessive fragmentation on reserved array */ size =round_up (size, align);
_
Patches currently in -mm which might be from [email protected] are
origin.patch
mm-nobootmem-free_all_bootmem-again.patch
rtc-rtc-twl-use-devm_-functions.patch
rtc-rtc-vr41xx-use-devm_-functions.patch
linux-next.patch