Searched refs:target_lruvec (Results 1 – 1 of 1) sorted by relevance
2257 struct lruvec *target_lruvec; in prepare_scan_control() local2262 target_lruvec = mem_cgroup_lruvec(sc->target_mem_cgroup, pgdat); in prepare_scan_control()2274 spin_lock_irq(&target_lruvec->lru_lock); in prepare_scan_control()2275 sc->anon_cost = target_lruvec->anon_cost; in prepare_scan_control()2276 sc->file_cost = target_lruvec->file_cost; in prepare_scan_control()2277 spin_unlock_irq(&target_lruvec->lru_lock); in prepare_scan_control()2291 refaults = lruvec_page_state(target_lruvec, in prepare_scan_control()2293 if (refaults != target_lruvec->refaults[WORKINGSET_ANON] || in prepare_scan_control()2294 inactive_is_low(target_lruvec, LRU_INACTIVE_ANON)) in prepare_scan_control()2299 refaults = lruvec_page_state(target_lruvec, in prepare_scan_control()[all …]