diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2009-04-06 19:00:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 08:31:03 -0700 |
commit | 6260a4b0521a41189b2c2a8119096c1e21dbdf2c (patch) | |
tree | 90e3c16cfde493503292b128fc3e275d58ccb037 /drivers/hwmon/Kconfig | |
parent | fafd688e4c0c34da0f3de909881117d374e4c7af (diff) | |
download | linux-stable-6260a4b0521a41189b2c2a8119096c1e21dbdf2c.tar.gz linux-stable-6260a4b0521a41189b2c2a8119096c1e21dbdf2c.tar.bz2 linux-stable-6260a4b0521a41189b2c2a8119096c1e21dbdf2c.zip |
/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.
[akpm@linux-foundation.org: coding-style fixes]
[kamezawa.hiroyu@jp.fujitsu.com: coding-style fixes]
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mike Waychison <mikew@google.com>
Reported-by: Ying Han <yinghan@google.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions