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

Popular posts from this blog

c - Calling a function within a loop -

How i fill combobox items in Radgridview manually using in vb.net -

vb.net - Unbound DataGridView add row with checkbox error -