linux kernel - How to distinguish between anonymous vm_area_struct and file-mapped vm_area_struct? -
how can detect area represented structure vm_area_struct mapped anonymous? use !vma->vma_file && vma->anon_vma
, doesn't work.
it's fault.i add code vma_link monitor allocation of process vitural address space.the area mapped file unmapped immediately.so,when use pmap see space maps,this area doesn't corresponds file.
Comments
Post a Comment