Home
last modified time | relevance | path

Searched refs:swappiness (Results 1 – 7 of 7) sorted by relevance

/linux/mm/
H A Dvmscan.c2416 int swappiness = sc_swappiness(sc, memcg); in get_scan_count() local
2436 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count()
2446 if (!sc->priority && swappiness) { in get_scan_count()
2489 ap = swappiness * (total_cost + 1); in get_scan_count()
2492 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in get_scan_count()
2655 #define evictable_min_seq(min_seq, swappiness) \ argument
2656 min((min_seq)[!(swappiness)], (min_seq)[(swappiness) <= MAX_SWAPPINESS])
2663 #define for_each_evictable_type(type, swappiness) \ argument
2664 for ((type) = !(swappiness); (type) <= ((swappiness) <= MAX_SWAPPINESS); (type)++)
3306 return !walk->swappiness; in should_skip_vma()
[all …]
H A Dmemcontrol.c3583 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
4308 int swappiness = -1; in memory_reclaim() local
4327 if (match_int(&args[0], &swappiness)) in memory_reclaim()
4329 if (swappiness < MIN_SWAPPINESS || swappiness > MAX_SWAPPINESS) in memory_reclaim()
4357 swappiness == -1 ? NULL : &swappiness); in memory_reclaim()
/linux/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst149 ``- memcg_id node_id min_gen_nr [swappiness [nr_to_reclaim]]``
153 the active list) and therefore cannot be evicted. ``swappiness``
154 overrides the default value in ``/proc/sys/vm/swappiness``.
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst73 - swappiness
943 swappiness chapter
961 is on average 2x faster than IO from the filesystem, swappiness should
/linux/Documentation/mm/
H A Dmultigen_lru.rst107 between anon and file types proportional to the swappiness level.
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst1338 swappiness Swappiness value to reclaim with
1341 Specifying a swappiness value instructs the kernel to perform
1342 the reclaim with that swappiness value. Note that this has the
1343 same semantics as vm.swappiness applied to memcg reclaim with
H A Dkernel-parameters.txt6981 Example: sysctl.vm.swappiness=40