__get_vm_area_node在vmalloc中的位置 __get_vm_area_node staticstructvm_struct*__get_vm_area_node(unsignedlongsize,unsignedlongalign,unsignedlongshift,unsignedlongflags,unsignedlongstart,unsignedlongend,intnode,gfp_tgfp_mask,constvoid*caller){structvmap_area*va;structvm_struct*area;unsignedlongreque...
void*__vmalloc_area_node(structvm_struct *area, gfp_t gfp_mask,pgprot_t prot,intnode) { ...for(i =0; i < area->nr_pages; i++) {if(node <0) area->pages[i] =alloc_page(gfp_mask);elsearea->pages[i] = alloc_pages_node(node, gfp_mask,0);//这个0说明是一页一页分配} ....