Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dvmscan.c3139 struct lruvec *target_lruvec; in shrink_node() local
3143 target_lruvec = mem_cgroup_lruvec(sc->target_mem_cgroup, pgdat); in shrink_node()
3160 spin_lock_irq(&target_lruvec->lru_lock); in shrink_node()
3161 sc->anon_cost = target_lruvec->anon_cost; in shrink_node()
3162 sc->file_cost = target_lruvec->file_cost; in shrink_node()
3163 spin_unlock_irq(&target_lruvec->lru_lock); in shrink_node()
3172 refaults = lruvec_page_state(target_lruvec, in shrink_node()
3174 if (refaults != target_lruvec->refaults[0] || in shrink_node()
3175 inactive_is_low(target_lruvec, LRU_INACTIVE_ANON)) in shrink_node()
3185 refaults = lruvec_page_state(target_lruvec, in shrink_node()
[all …]