]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thp: decrement refcount on huge zero page if it is split
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 8 Sep 2015 21:59:28 +0000 (14:59 -0700)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:47 +0000 (12:19 -0500)
commit7647606ad4bc81c18eab82d5474751b45fb412ef
treead3a48e0f350c5ffac56d98b9fd5b52337196624
parent530a98518f21825adf9663eb04bec4b0102034e0
thp: decrement refcount on huge zero page if it is split

Orabug: 22913653

The DAX code neglected to put the refcount on the huge zero page.
Also we must notify on splits.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 5b701b846aad7909d20693bcced2522d0ce8d1bc)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
mm/huge_memory.c