Loading mm/memblock.c +4 −2 Original line number Diff line number Diff line Loading @@ -723,6 +723,7 @@ int __init_memblock memblock_free(phys_addr_t base, phys_addr_t size) (unsigned long long)base + size - 1, (void *)_RET_IP_); if (base < memblock.current_limit) kmemleak_free_part(__va(base), size); return memblock_remove_range(&memblock.reserved, base, size); } Loading Loading @@ -1152,6 +1153,7 @@ static phys_addr_t __init memblock_alloc_range_nid(phys_addr_t size, * The min_count is set to 0 so that memblock allocations are * never reported as leaks. */ if (found < memblock.current_limit) kmemleak_alloc(__va(found), size, 0, 0); return found; } Loading Loading
mm/memblock.c +4 −2 Original line number Diff line number Diff line Loading @@ -723,6 +723,7 @@ int __init_memblock memblock_free(phys_addr_t base, phys_addr_t size) (unsigned long long)base + size - 1, (void *)_RET_IP_); if (base < memblock.current_limit) kmemleak_free_part(__va(base), size); return memblock_remove_range(&memblock.reserved, base, size); } Loading Loading @@ -1152,6 +1153,7 @@ static phys_addr_t __init memblock_alloc_range_nid(phys_addr_t size, * The min_count is set to 0 so that memblock allocations are * never reported as leaks. */ if (found < memblock.current_limit) kmemleak_alloc(__va(found), size, 0, 0); return found; } Loading