Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2020 12:43:45 +0530
From:      SHAMANTHA KRISHNA K G <shamanthkrishna23@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   vm objects .
Message-ID:  <CACc2HZn=Q=JSBJH=dJSTuvJ%2Bcc7dtxu%2B%2BYKD66MsT9ks9fPjnA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,
          What exactly does each of these vm objects means with respect to*
/proc/<pid>/map*

vnode
default
device
swap
physical

And given that below are the fields corresponding to each entry in
*/proc/<pid>/map* ,what exactly does *flags* mean, i,e *the field after
reference count and before COW*

*start ,end ,RES ,PRES ,offset ,protection_flags ,shadow_count
> ,reference_count ,flags ,COW ,access ,type ,charged, charged uid*

Here is the code to the /proc/<pid>/map filler -->
https://github.com/freebsd/freebsd/blob/9561dc969d120d90918ddce5b82604ca349d592c/sys/fs/procfs/procfs_map.c#L219


Thank you,
-Shamantha.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACc2HZn=Q=JSBJH=dJSTuvJ%2Bcc7dtxu%2B%2BYKD66MsT9ks9fPjnA>