]> git.baikalelectronics.ru Git - kernel.git/commit
mm/compaction: remove duplicated VM_BUG_ON_PAGE !PageLocked
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 24 Feb 2021 20:09:29 +0000 (12:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Feb 2021 21:38:34 +0000 (13:38 -0800)
commit9c2b967020bb4dfaaa5708e35888203778316785
tree9ac05f2a29194efd85d10e3b77f2357cf0e4f209
parent7211396d925ee034c8a2a4d78a3f3ecda6e0dbe4
mm/compaction: remove duplicated VM_BUG_ON_PAGE !PageLocked

The VM_BUG_ON_PAGE(!PageLocked(page), page) is also done in PageMovable.
Remove this explicitly one.

Link: https://lkml.kernel.org/r/20210109081420.46030-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/compaction.c