]> git.baikalelectronics.ru Git - kernel.git/commit
mm/hugetlb: remove unnecessary VM_BUG_ON_PAGE on putback_active_hugepage()
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 24 Feb 2021 20:07:43 +0000 (12:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Feb 2021 21:38:33 +0000 (13:38 -0800)
commite12778a51983d6bb5334e69e3fc582a5f6836aab
treeb0dfbb412dea6fe916e50a5f5fd5fc99e0527085
parentc30fa40ac15854fa7ed7cc72ae22f813abb9012d
mm/hugetlb: remove unnecessary VM_BUG_ON_PAGE on putback_active_hugepage()

All callers know they are operating on a hugetlb head page.  So this
VM_BUG_ON_PAGE can not catch anything useful.

Link: https://lkml.kernel.org/r/20210209071151.44731-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c