tools/vm/page-types.c: support swap entry
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Thu, 17 Mar 2016 21:17:47 +0000 (14:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commit0335ddd34f39569a32096084bf3b0960d2b1212b
tree226e2e489392c93d25fa901b657a267bea96b70a
parent0a71649cb724ab97df26baa7731ac31d2364bfe5
tools/vm/page-types.c: support swap entry

/proc/pid/pagemap (pte_to_pagemap_entry() internally) already reports
about swap entry, so let's make the in-kernel utility aware of it.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Vladimir Davydov <vdavydov@parallels.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/vm/page-types.c