summaryrefslogtreecommitdiffstats
path: root/Documentation/dcdbas.txt
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2017-11-02 23:59:34 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-11-03 15:39:19 +0100
commitb83d7e432399d44454411dec5c25afb5c4469e96 (patch)
tree14e38018a632c814c4910dc770f889d2e40f4e9c /Documentation/dcdbas.txt
parentuserfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size (diff)
downloadlinux-b83d7e432399d44454411dec5c25afb5c4469e96.tar.xz
linux-b83d7e432399d44454411dec5c25afb5c4469e96.zip
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/20171017081818.31795-1-ying.huang@intel.com Fixes: 84c3fc4e9c56 ("mm: thp: check pmd migration entry in common path") Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Michal Hocko <mhocko@suse.com> Cc: David Rientjes <rientjes@google.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Hugh Dickins <hughd@google.com> Cc: "Jérôme Glisse" <jglisse@redhat.com> Cc: Daniel Colascione <dancol@google.com> Cc: Zi Yan <zi.yan@cs.rutgers.edu> Cc: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/dcdbas.txt')
0 files changed, 0 insertions, 0 deletions