162306a36Sopenharmony_ciWhat:		/proc/pid/smaps_rollup
262306a36Sopenharmony_ciDate:		August 2017
362306a36Sopenharmony_ciContact:	Daniel Colascione <dancol@google.com>
462306a36Sopenharmony_ciDescription:
562306a36Sopenharmony_ci		This file provides pre-summed memory information for a
662306a36Sopenharmony_ci		process.  The format is almost identical to /proc/pid/smaps,
762306a36Sopenharmony_ci		except instead of an entry for each VMA in a process,
862306a36Sopenharmony_ci		smaps_rollup has a single entry (tagged "[rollup]")
962306a36Sopenharmony_ci		for which each field is the sum of the corresponding
1062306a36Sopenharmony_ci		fields from all the maps in /proc/pid/smaps.
1162306a36Sopenharmony_ci		Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
1262306a36Sopenharmony_ci		are not present in /proc/pid/smaps.  These fields represent
1362306a36Sopenharmony_ci		the sum of the Pss field of each type (anon, file, shmem).
1462306a36Sopenharmony_ci		For more details, see Documentation/filesystems/proc.rst
1562306a36Sopenharmony_ci		and the procfs man page.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci		Typical output looks like this::
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci			00100000-ff709000 ---p 00000000 00:00 0		 [rollup]
2062306a36Sopenharmony_ci			Size:               1192 kB
2162306a36Sopenharmony_ci			KernelPageSize:        4 kB
2262306a36Sopenharmony_ci			MMUPageSize:           4 kB
2362306a36Sopenharmony_ci			Rss:		     884 kB
2462306a36Sopenharmony_ci			Pss:		     385 kB
2562306a36Sopenharmony_ci			Pss_Dirty:	      68 kB
2662306a36Sopenharmony_ci			Pss_Anon:	     301 kB
2762306a36Sopenharmony_ci			Pss_File:	      80 kB
2862306a36Sopenharmony_ci			Pss_Shmem:	       4 kB
2962306a36Sopenharmony_ci			Shared_Clean:	     696 kB
3062306a36Sopenharmony_ci			Shared_Dirty:	       0 kB
3162306a36Sopenharmony_ci			Private_Clean:	     120 kB
3262306a36Sopenharmony_ci			Private_Dirty:	      68 kB
3362306a36Sopenharmony_ci			Referenced:	     884 kB
3462306a36Sopenharmony_ci			Anonymous:	      68 kB
3562306a36Sopenharmony_ci			LazyFree:	       0 kB
3662306a36Sopenharmony_ci			AnonHugePages:	       0 kB
3762306a36Sopenharmony_ci			ShmemPmdMapped:	       0 kB
3862306a36Sopenharmony_ci			Shared_Hugetlb:	       0 kB
3962306a36Sopenharmony_ci			Private_Hugetlb:       0 kB
4062306a36Sopenharmony_ci			Swap:		       0 kB
4162306a36Sopenharmony_ci			SwapPss:	       0 kB
4262306a36Sopenharmony_ci			Locked:		     385 kB
43