]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc/smaps: carefully handle migration entries
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Thu, 3 May 2012 05:44:42 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:56 +0000 (15:46 +1000)
commit9acd866672b3fa1ab09c9f6fc395fbb2ec57023e
treee2b7b816cd7a4e6368fc22531febfecb82e4695b
parentda7b11424d3417128ac07f63b630628534f23df8
proc/smaps: carefully handle migration entries

Currently smaps reports migration entries as "swap", as result "swap" can
appears in shared mapping.

This patch converts migration entries into pages and handles them as usual.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/task_mmu.c