Searched refs:pgdat (Results 1 – 2 of 2) sorted by relevance
1473 static bool pgdat_free_space_enough(struct pglist_data *pgdat) in pgdat_free_space_enough() argument1479 pgdat->node_present_pages >> 4); in pgdat_free_space_enough()1480 for (z = pgdat->nr_zones - 1; z >= 0; z--) { in pgdat_free_space_enough()1481 struct zone *zone = pgdat->node_zones + z; in pgdat_free_space_enough()1521 static bool numa_promotion_rate_limit(struct pglist_data *pgdat, in numa_promotion_rate_limit() argument1528 mod_node_page_state(pgdat, PGPROMOTE_CANDIDATE, nr); in numa_promotion_rate_limit()1529 nr_cand = node_page_state(pgdat, PGPROMOTE_CANDIDATE); in numa_promotion_rate_limit()1530 start = pgdat->nbp_rl_start; in numa_promotion_rate_limit()1532 cmpxchg(&pgdat->nbp_rl_start, start, now) == start) in numa_promotion_rate_limit()1533 pgdat->nbp_rl_nr_cand = nr_cand; in numa_promotion_rate_limit()[all …]
4596 struct pglist_data *pgdat; in reset_memory_tiering() local4598 for_each_online_pgdat(pgdat) { in reset_memory_tiering()4599 pgdat->nbp_threshold = 0; in reset_memory_tiering()4600 pgdat->nbp_th_nr_cand = node_page_state(pgdat, PGPROMOTE_CANDIDATE); in reset_memory_tiering()4601 pgdat->nbp_th_start = jiffies_to_msecs(jiffies); in reset_memory_tiering()