On Fri, Apr 04, 2025 at 12:01:59PM +0200, Pankaj Raghav (Samsung) wrote: > -The number of file transparent huge pages mapped to userspace is available > -by reading ShmemPmdMapped and ShmemHugePages fields in ``/proc/meminfo``. > -To identify what applications are mapping file transparent huge pages, it > -is necessary to read ``/proc/PID/smaps`` and count the FilePmdMapped fields > -for each mapping. > +The number of PMD-sized transparent huge pages currently used by "In similar fashion, the number ..." > +tmpfs/shmem is available by reading the ShmemHugePages field > +in ``/proc/meminfo``. The number of these huge pages that are mapped to userspace > +is available by reading ShmemPmdMapped field in ``proc/meminfo``. To identify > +what applications are mapping these huge pages, it is necessary to read > +``/proc/PID/smaps`` and count the ShmemPmdMapped fields for each mapping. > Thanks. -- An old man doll... just what I always wanted! - Clara
Attachment:
signature.asc
Description: PGP signature