Searched refs:MAX_SWAPPINESS (Results 1 – 4 of 4) sorted by relevance
416 #define MAX_SWAPPINESS 200 macro
2462 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in calculate_pressure_balance()2694 min((min_seq)[!(swappiness)], (min_seq)[(swappiness) <= MAX_SWAPPINESS])2702 for ((type) = !(swappiness); (type) <= ((swappiness) <= MAX_SWAPPINESS); (type)++)3356 if (walk->swappiness > MAX_SWAPPINESS) in should_skip_vma()3853 if (type ? swappiness > MAX_SWAPPINESS : !swappiness) in inc_min_seq()3919 if (swappiness && swappiness <= MAX_SWAPPINESS) { in try_to_inc_min_seq()4633 if (swappiness >= MAX_SWAPPINESS) in get_type_to_scan()4640 read_ctrl_pos(lruvec, LRU_GEN_FILE, MAX_NR_TIERS, MAX_SWAPPINESS - swappiness, &pv); in get_type_to_scan()5411 seq = evictable_min_seq(min_seq, MAX_SWAPPINESS / 2); in lru_gen_seq_show()5519 else if (swappiness > MAX_SWAPPINESS + 1) in run_cmd()
1955 if (val > MAX_SWAPPINESS) in mem_cgroup_swappiness_write()
4431 if (swappiness < MIN_SWAPPINESS || swappiness > MAX_SWAPPINESS) in memory_reclaim()