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

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -