Lines Matching defs:swappiness
16 static inline bool is_swap_not_allowed(struct scan_control *sc, int swappiness)
18 return !sc->may_swap || !swappiness || !get_nr_swap_pages();
35 int swappiness = get_hyperhold_swappiness();
49 if (cgroup_reclaim(sc) && !swappiness) {
57 * (unless the swappiness setting disagrees with swapping).
59 if (!sc->priority && swappiness) {
120 * anonymous page vs reloading a filesystem page (swappiness).
124 * applied, before swappiness.
126 * With swappiness at 100, anon and file have equal IO cost.
133 ap = swappiness * (total_cost + 1);
136 fp = (200 - swappiness) * (total_cost + 1);
161 * Scan types proportional to swappiness and