* address which is not looked up by kmemleak. */ kmemleak_alloc_phys(found, size, 0, 0); return found; } 主要分配两个部分: memblock_find_in_range_node():从memblock 中node id中查找到一块合适的内存 如何查到到合适的内存,则调用memblock_reserve(),将申请到的内存块添加到memblock reserve中...