Home
last modified time | relevance | path

Searched refs:kernel_early_pages (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/mm/
Dmemory_hotplug.c789 unsigned long kernel_early_pages; member
799 stats->kernel_early_pages += zone->present_early_pages; in auto_movable_stats_account_zone()
806 stats->kernel_early_pages -= zone->cma_pages; in auto_movable_stats_account_zone()
845 unsigned long kernel_early_pages, movable_pages; in auto_movable_can_online_movable() local
865 kernel_early_pages = stats.kernel_early_pages; in auto_movable_can_online_movable()
875 if (kernel_early_pages <= group_stats.req_kernel_early_pages) in auto_movable_can_online_movable()
877 kernel_early_pages -= group_stats.req_kernel_early_pages; in auto_movable_can_online_movable()
881 kernel_early_pages += group->present_kernel_pages; in auto_movable_can_online_movable()
888 return movable_pages <= (auto_movable_ratio * kernel_early_pages) / 100; in auto_movable_can_online_movable()