]> git.baikalelectronics.ru Git - kernel.git/commit
thp: cleanup split_huge_page()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 15 Mar 2016 21:57:30 +0000 (14:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit1b96ac7e66f91b3dcefdcbed897a12bb86b6ca1a
treee5a53184414736b25e4436ff30aa28360573d2bb
parent2cdf5b5b5802169a669b3355f732d35e0af6fce5
thp: cleanup split_huge_page()

After one of bugfixes to freeze_page(), we don't have freezed pages in
rmap, therefore mapcount of all subpages of freezed THP is zero.  And we
have assert for that.

Let's drop code which deal with non-zero mapcount of subpages.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c