Lines Matching defs:swappiness
18 static inline bool is_swap_not_allowed(struct scan_control *sc, int swappiness)
20 return !sc->may_swap || !swappiness || !get_nr_swap_pages();
37 int swappiness = get_hyperhold_swappiness();
51 if (cgroup_reclaim(sc) && !swappiness) {
59 * (unless the swappiness setting disagrees with swapping).
61 if (!sc->priority && swappiness) {
122 * anonymous page vs reloading a filesystem page (swappiness).
126 * applied, before swappiness.
128 * With swappiness at 100, anon and file have equal IO cost.
135 ap = swappiness * (total_cost + 1);
138 fp = (200 - swappiness) * (total_cost + 1);
163 * Scan types proportional to swappiness and