diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-09-16 15:22:43 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 14:03:28 -0700 |
commit | b89f1735169b8ab54b6a03bf4823657ee4e30073 (patch) | |
tree | ee6f725633b012ea1648e129a49711de6b6ce82a /mm/vmscan.c | |
parent | ce96fa6223ee851cb83118678f6e75f260852a80 (diff) |
mm/page_alloc: make zone_pcp_update() static
Since commit b92ca18e8ca5 ("mm/page_alloc: disassociate the pcp->high from
pcp->batch"), zone_pcp_update() is only used in mm/page_alloc.c. Move
zone_pcp_update() up to avoid forward declaration and then make it static.
No functional change intended.
Link: https://lkml.kernel.org/r/20220916072257.9639-3-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions