Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dmemory_hotplug.c476 struct pglist_data *pgdat = zone->zone_pgdat; in remove_pfn_range_from_zone()
502 pgdat_resize_lock(zone->zone_pgdat, &flags); in remove_pfn_range_from_zone()
505 pgdat_resize_unlock(zone->zone_pgdat, &flags); in remove_pfn_range_from_zone()
696 struct pglist_data *pgdat = zone->zone_pgdat; in move_pfn_range_to_zone()
831 pgdat_resize_lock(zone->zone_pgdat, &flags); in online_pages()
832 zone->zone_pgdat->node_present_pages += nr_pages; in online_pages()
833 pgdat_resize_unlock(zone->zone_pgdat, &flags); in online_pages()
1384 struct pglist_data *pgdat = zone->zone_pgdat; in node_states_check_changes_offline()
1591 pgdat_resize_lock(zone->zone_pgdat, &flags); in offline_pages()
1592 zone->zone_pgdat->node_present_pages -= nr_pages; in offline_pages()
[all …]
Dvmscan.c1460 nr_reclaimed = shrink_page_list(&clean_pages, zone->zone_pgdat, &sc, in reclaim_clean_pages_from_list()
1463 mod_node_page_state(zone->zone_pgdat, NR_ISOLATED_FILE, in reclaim_clean_pages_from_list()
1471 mod_node_page_state(zone->zone_pgdat, NR_ISOLATED_ANON, in reclaim_clean_pages_from_list()
1473 mod_node_page_state(zone->zone_pgdat, NR_ISOLATED_FILE, in reclaim_clean_pages_from_list()
2941 if (zone->zone_pgdat == last_pgdat) in shrink_zones()
2951 nr_soft_reclaimed = mem_cgroup_soft_limit_reclaim(zone->zone_pgdat, in shrink_zones()
2960 if (zone->zone_pgdat == last_pgdat) in shrink_zones()
2962 last_pgdat = zone->zone_pgdat; in shrink_zones()
2964 shrink_node_hyperhold(zone->zone_pgdat, sc); in shrink_zones()
2966 shrink_node(zone->zone_pgdat, sc); in shrink_zones()
[all …]
Dmmzone.c32 pg_data_t *pgdat = zone->zone_pgdat; in next_zone()
Dmlock.c306 spin_lock_irq(&zone->zone_pgdat->lru_lock); in __munlock_pagevec()
333 spin_unlock_irq(&zone->zone_pgdat->lru_lock); in __munlock_pagevec()
Dpage_alloc.c2010 pg_data_t *pgdat = zone->zone_pgdat; in deferred_grow_zone()
3873 if (last_pgdat_dirty_limit == zone->zone_pgdat) in get_page_from_freelist()
3876 if (!node_dirty_ok(zone->zone_pgdat)) { in get_page_from_freelist()
3877 last_pgdat_dirty_limit = zone->zone_pgdat; in get_page_from_freelist()
3923 ret = node_reclaim(zone->zone_pgdat, gfp_mask, order); in get_page_from_freelist()
4456 if (last_pgdat != zone->zone_pgdat) in wake_all_kswapds()
4458 last_pgdat = zone->zone_pgdat; in wake_all_kswapds()
6258 struct pglist_data *pgdat = zone->zone_pgdat; in memmap_init_zone_device()
6642 struct pglist_data *pgdat = zone->zone_pgdat; in init_currently_empty_zone()
7057 zone->zone_pgdat = NODE_DATA(nid); in zone_init_internals()
[all …]
Dcompaction.c803 pg_data_t *pgdat = cc->zone->zone_pgdat; in isolate_migratepages_block()
1900 return div64_ul(score, zone->zone_pgdat->node_present_pages + 1); in fragmentation_score_zone()
1979 pgdat = cc->zone->zone_pgdat; in __compact_finished()
Dmigrate.c499 old_lruvec = mem_cgroup_lruvec(memcg, oldzone->zone_pgdat); in migrate_page_move_mapping()
500 new_lruvec = mem_cgroup_lruvec(memcg, newzone->zone_pgdat); in migrate_page_move_mapping()
Dvmstat.c261 struct pglist_data *pgdat = zone->zone_pgdat; in refresh_zone_stat_thresholds()
/kernel/linux/linux-5.10/include/linux/
Dmmzone.h482 struct pglist_data *zone_pgdat; member
929 #define zone_idx(zone) ((zone) - (zone)->zone_pgdat->node_zones)