thp: cleanup split_huge_page()
authorKirill A. Shutemov <[email protected]>
Tue, 15 Mar 2016 21:57:30 +0000 (14:57 -0700)
committerLinus Torvalds <[email protected]>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit8df651c7059e7980f08430d4ebbd134b046657ee
treee5a53184414736b25e4436ff30aa28360573d2bb
parent88193f7ce6657ec4197b1f26b73b37197373b8e6
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/huge_memory.c