Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc/pid/pagemap: correctly report non-present ptes and holes between…
… vmas 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 092b50b ("pagemap: introduce data structure for pagemap entry") Reporting for holes was broken in commit 5aaabe8 ("pagemap: avoid splitting thp when reading /proc/pid/pagemap") Signed-off-by: Konstantin Khlebnikov <[email protected]> Reported-by: Pavel Emelyanov <[email protected]> Cc: Naoya Horiguchi <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information