mm/balloon_compaction: make balloon page compaction callbacks static
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 25 Jan 2022 13:22:21 +0000 (21:22 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Mar 2022 20:52:57 +0000 (16:52 -0400)
commit504c1cabe325df65c18ef38365ddd1a41c6b591b
tree260cff8bb171ab944fe61b3c8ca179270efcdf25
parent6f84622db395456f071910a1851fda66325855bd
mm/balloon_compaction: make balloon page compaction callbacks static

Since commit b1123ea6d3b3 ("mm: balloon: use general non-lru movable page
feature"), these functions are called via balloon_aops callbacks. They're
not called directly outside this file. So make them static and clean up
the relevant code.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20220125132221.2220-1-linmiaohe@huawei.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
include/linux/balloon_compaction.h
mm/balloon_compaction.c