Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/trace/events/
Dvmscan.h458 TP_PROTO(int nid, int reclaim_idx,
463 TP_ARGS(nid, reclaim_idx, total_inactive, inactive, total_active, active, ratio, file),
467 __field(int, reclaim_idx)
478 __entry->reclaim_idx = reclaim_idx;
490 __entry->reclaim_idx,
/kernel/linux/linux-5.10/mm/
Dvmscan.c1620 if (page_zonenum(page) > sc->reclaim_idx) { in isolate_lru_pages()
1674 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_pages()
2311 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count()
2572 for (z = 0; z <= sc->reclaim_idx; z++) { in should_continue_reclaim()
2577 switch (compaction_suitable(zone, sc->order, 0, sc->reclaim_idx)) { in should_continue_reclaim()
2860 suitable = compaction_suitable(zone, sc->order, 0, sc->reclaim_idx); in compaction_ready()
2879 return zone_watermark_ok_safe(zone, 0, watermark, sc->reclaim_idx); in compaction_ready()
2907 sc->reclaim_idx = gfp_zone(sc->gfp_mask); in shrink_zones()
2911 sc->reclaim_idx, sc->nodemask) { in shrink_zones()
3026 __count_zid_vm_events(ALLOCSTALL, sc->reclaim_idx, 1); in do_try_to_free_pages()
[all …]
Dmemcg_reclaim.c86 sc->reclaim_idx) >> in get_scan_count_hyperhold()
106 lruvec_lru_size(lruvec, LRU_INACTIVE_FILE, sc->reclaim_idx) >> sc->priority) { in get_scan_count_hyperhold()
150 lruvec_size = lruvec_lru_size(lruvec, lru, sc->reclaim_idx); in get_scan_count_hyperhold()
Dinternal.h115 s8 reclaim_idx; member
Dzswapd.c670 .reclaim_idx = MAX_NR_ZONES - 1, in zswapd_shrink_node()