diff options
author | Huang Ying <[email protected]> | 2017-11-02 15:59:34 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-11-03 07:39:19 -0700 |
commit | b83d7e432399d44454411dec5c25afb5c4469e96 (patch) | |
tree | 14e38018a632c814c4910dc770f889d2e40f4e9c /include/linux/fpga/fpga-bridge.h | |
parent | 1e3921471354244f70fe268586ff94a97a6dd4df (diff) |
mm, /proc/pid/pagemap: fix soft dirty marking for PMD migration entry
When the pagetable is walked in the implementation of /proc/<pid>/pagemap,
pmd_soft_dirty() is used for both the PMD huge page map and the PMD
migration entries. That is wrong, pmd_swp_soft_dirty() should be used
for the PMD migration entries instead because the different page table
entry flag is used.
As a result, /proc/pid/pagemap may report incorrect soft dirty information
for PMD migration entries.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 84c3fc4e9c56 ("mm: thp: check pmd migration entry in common path")
Signed-off-by: "Huang, Ying" <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: "Jérôme Glisse" <[email protected]>
Cc: Daniel Colascione <[email protected]>
Cc: Zi Yan <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions