Searched refs:pv (Results 1 – 1 of 1) sorted by relevance
/mm/ |
D | vmscan.c | 3163 static bool positive_ctrl_err(struct ctrl_pos *sp, struct ctrl_pos *pv) in positive_ctrl_err() argument 3169 return pv->refaulted < MIN_LRU_BATCH || in positive_ctrl_err() 3170 pv->refaulted * (sp->total + MIN_LRU_BATCH) * sp->gain <= in positive_ctrl_err() 3171 (sp->refaulted + 1) * pv->total * pv->gain; in positive_ctrl_err() 4431 struct ctrl_pos sp, pv; in get_tier_idx() local 4440 read_ctrl_pos(lruvec, type, tier, 2, &pv); in get_tier_idx() 4441 if (!positive_ctrl_err(&sp, &pv)) in get_tier_idx() 4451 struct ctrl_pos sp, pv; in get_type_to_scan() local 4461 read_ctrl_pos(lruvec, LRU_GEN_FILE, 0, gain[LRU_GEN_FILE], &pv); in get_type_to_scan() 4462 type = positive_ctrl_err(&sp, &pv); in get_type_to_scan() [all …]
|