diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-05-28 00:27:38 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-28 00:49:37 +0300 |
commit | 0798d3c022dc63eb0ec02b511e1f76ca8411ef8e (patch) | |
tree | 64fd1d7fe4f727f319d34904a5a587f07a95d18e /Documentation/nvdimm/btt.txt | |
parent | e2fe14564d3316d1625ed20bf1083995f4960893 (diff) | |
download | linux-0798d3c022dc63eb0ec02b511e1f76ca8411ef8e.tar.xz |
mm: thp: avoid false positive VM_BUG_ON_PAGE in page_move_anon_rmap()
If page_move_anon_rmap() is refiling a pmd-splitted THP mapped in a tail
page from a pte, the "address" must be THP aligned in order for the
page->index bugcheck to pass in the CONFIG_DEBUG_VM=y builds.
Link: http://lkml.kernel.org/r/1464253620-106404-1-git-send-email-kirill.shutemov@linux.intel.com
Fixes: 6d0a07edd17c ("mm: thp: calculate the mapcount correctly for THP pages during WP faults")
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reported-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: <stable@vger.kernel.org> [4.5]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/nvdimm/btt.txt')
0 files changed, 0 insertions, 0 deletions