malloc-->uma_zalloc (Small)
|->uma_large_malloc (Large)
uma_zalloc->uma_zalloc_arg (slab)
uma_large_malloc->page_alloc(kmem_map)->kmem_malloc
->vm_map_findspace(just find virtual addr for map)
kmem_malloc->kmem_back->vm_page_alloc->vm_phys_alloc_pages->vm_phys_alloc_freelist_pages:(vm_phys_free_queues)
contigmalloc->kmem_alloc_contig->vm_phys_alloc_contig:(vm_phys_free_queues)
阅读(981) | 评论(0) | 转发(0) |