]> Git Repo - linux.git/commit
/proc/pid/maps: don't show pgoff of pure ANON VMAs
authorKAMEZAWA Hiroyuki <[email protected]>
Tue, 7 Apr 2009 02:00:30 +0000 (19:00 -0700)
committerLinus Torvalds <[email protected]>
Tue, 7 Apr 2009 15:31:03 +0000 (08:31 -0700)
commit6260a4b0521a41189b2c2a8119096c1e21dbdf2c
tree90e3c16cfde493503292b128fc3e275d58ccb037
parentfafd688e4c0c34da0f3de909881117d374e4c7af
/proc/pid/maps: don't show pgoff of pure ANON VMAs

Recently, it's argued that what proc/pid/maps shows is ugly when a 32bit
binary runs on 64bit host.

/proc/pid/maps outputs vma's pgoff member but vma->pgoff is of no use
information is the vma is for ANON.  With this patch, /proc/pid/maps shows
just 0 if no file backing store.

[[email protected]: coding-style fixes]
[[email protected]: coding-style fixes]
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mike Waychison <[email protected]>
Reported-by: Ying Han <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/task_mmu.c
fs/proc/task_nommu.c
This page took 0.050341 seconds and 4 git commands to generate.