]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit486a39f14652346df587d7561a841fb5b72a2398
tree260cff8bb171ab944fe61b3c8ca179270efcdf25
parenta30b48a248f61cbc565ddef3c06afd0e4882406f
mm/balloon_compaction: make balloon page compaction callbacks static

Since commit bacc8cca81a7 ("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