smaps: account swap entries
authorPeter Zijlstra <peterz@infradead.org>
Mon, 28 Apr 2008 09:12:55 +0000 (02:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:22 +0000 (08:58 -0700)
commit214e471ff99064726b2d8af3aa0e24a73c775531
treea78674e56c27db43490cac0ef7c121e845051b62
parente20b8cca760ed2a6abcfe37ef56f2306790db648
smaps: account swap entries

Show the amount of swap for each vma.  This can be used to see where all the
swap goes.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c