Skip to content
Commit 504c1cab authored by Miaohe Lin's avatar Miaohe Lin Committed by Michael S. Tsirkin
Browse files

mm/balloon_compaction: make balloon page compaction callbacks static



Since commit b1123ea6 ("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: default avatarMiaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20220125132221.2220-1-linmiaohe@huawei.com


Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarMuchun Song <songmuchun@bytedance.com>
parent 6f84622d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment