Revision 16fbdce62d9c89b794e303f4a232e4749b77e9ac authored by Konstantin Khlebnikov on 10 May 2012, 20:01:43 UTC, committed by Linus Torvalds on 10 May 2012, 22:06:44 UTC
Reset the current pagemap-entry if the current pte isn't present, or if current vma is over. Otherwise pagemap reports last entry again and again. Non-present pte reporting was broken in commit 092b50bacd1c ("pagemap: introduce data structure for pagemap entry") Reporting for holes was broken in commit 5aaabe831eb5 ("pagemap: avoid splitting thp when reading /proc/pid/pagemap") Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Reported-by: Pavel Emelyanov <xemul@parallels.com> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent bc46f93
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 8.5 KB |
Makefile | -rw-r--r-- | 377 bytes |
block_io.c | -rw-r--r-- | 2.4 KB |
console.c | -rw-r--r-- | 614 bytes |
hibernate.c | -rw-r--r-- | 24.9 KB |
main.c | -rw-r--r-- | 11.0 KB |
power.h | -rw-r--r-- | 7.5 KB |
poweroff.c | -rw-r--r-- | 980 bytes |
process.c | -rw-r--r-- | 4.7 KB |
qos.c | -rw-r--r-- | 14.5 KB |
snapshot.c | -rw-r--r-- | 60.4 KB |
suspend.c | -rw-r--r-- | 7.3 KB |
suspend_test.c | -rw-r--r-- | 5.0 KB |
swap.c | -rw-r--r-- | 34.5 KB |
user.c | -rw-r--r-- | 9.7 KB |
Computing file changes ...