Revision 0798d3c022dc63eb0ec02b511e1f76ca8411ef8e authored by Kirill A. Shutemov on 27 May 2016, 21:27:38 UTC, committed by Linus Torvalds on 27 May 2016, 21:49:37 UTC
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>
1 parent e2fe145
History
File Mode Size
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 545 bytes
core-card.c -rw-r--r-- 19.5 KB
core-cdev.c -rw-r--r-- 46.2 KB
core-device.c -rw-r--r-- 34.1 KB
core-iso.c -rw-r--r-- 10.3 KB
core-topology.c -rw-r--r-- 14.9 KB
core-transaction.c -rw-r--r-- 35.4 KB
core.h -rw-r--r-- 7.3 KB
init_ohci1394_dma.c -rw-r--r-- 9.6 KB
net.c -rw-r--r-- 41.6 KB
nosy-user.h -rw-r--r-- 590 bytes
nosy.c -rw-r--r-- 17.4 KB
nosy.h -rw-r--r-- 9.7 KB
ohci.c -rw-r--r-- 105.6 KB
ohci.h -rw-r--r-- 7.0 KB
sbp2.c -rw-r--r-- 46.7 KB

back to top