The patch titled Subject: mm/memblock.c: trivial code refine in memblock_is_region_memory() has been removed from the -mm tree. Its filename was mm-memblockc-trivial-code-refine-in-memblock_is_region_memory.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Wei Yang <richard.weiyang@xxxxxxxxx> Subject: mm/memblock.c: trivial code refine in memblock_is_region_memory() memblock_is_region_memory() invoke memblock_search() to see whether the base address is in the memory region. If it fails, idx would be -1. Then, it returns 0. If the memblock_search() returns a valid index, it means the base address is guaranteed to be in the range memblock.memory.regions[idx]. Because of this, it is not necessary to check the base again. This patch removes the check on "base". Link: http://lkml.kernel.org/r/1482363033-24754-2-git-send-email-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memblock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN mm/memblock.c~mm-memblockc-trivial-code-refine-in-memblock_is_region_memory mm/memblock.c --- a/mm/memblock.c~mm-memblockc-trivial-code-refine-in-memblock_is_region_memory +++ a/mm/memblock.c @@ -1640,8 +1640,7 @@ int __init_memblock memblock_is_region_m if (idx == -1) return 0; - return memblock.memory.regions[idx].base <= base && - (memblock.memory.regions[idx].base + + return (memblock.memory.regions[idx].base + memblock.memory.regions[idx].size) >= end; } _ Patches currently in -mm which might be from richard.weiyang@xxxxxxxxx are mm-page_alloc-return-0-in-case-this-node-has-no-page-within-the-zone.patch mm-page_alloc-remove-redundant-init-code-for-zone_movable.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html