Searched refs:MAX_SWAPPINESS (Results 1 – 2 of 2) sorted by relevance
2492 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in get_scan_count()2656 min((min_seq)[!(swappiness)], (min_seq)[(swappiness) <= MAX_SWAPPINESS])2664 for ((type) = !(swappiness); (type) <= ((swappiness) <= MAX_SWAPPINESS); (type)++)3318 if (walk->swappiness > MAX_SWAPPINESS) in should_skip_vma()3815 if (type ? swappiness > MAX_SWAPPINESS : !swappiness) in inc_min_seq()3881 if (swappiness && swappiness <= MAX_SWAPPINESS) { in try_to_inc_min_seq()4595 if (swappiness >= MAX_SWAPPINESS) in get_type_to_scan()4602 read_ctrl_pos(lruvec, LRU_GEN_FILE, MAX_NR_TIERS, MAX_SWAPPINESS - swappiness, &pv); in get_type_to_scan()5373 seq = evictable_min_seq(min_seq, MAX_SWAPPINESS / 2); in lru_gen_seq_show()5481 else if (swappiness > MAX_SWAPPINESS + 1) in run_cmd()
4338 if (swappiness < MIN_SWAPPINESS || swappiness > MAX_SWAPPINESS) in memory_reclaim()