Home
last modified time | relevance | path

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

/Linux-v6.6/mm/
Dvmscan.c3031 int swappiness = mem_cgroup_swappiness(memcg); in get_scan_count() local
3051 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count()
3061 if (!sc->priority && swappiness) { in get_scan_count()
3104 ap = swappiness * (total_cost + 1); in get_scan_count()
3107 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count()
5095 static int get_type_to_scan(struct lruvec *lruvec, int swappiness, int *tier_idx) in get_type_to_scan() argument
5099 int gain[ANON_AND_FILE] = { swappiness, 200 - swappiness }; in get_type_to_scan()
5123 static int isolate_folios(struct lruvec *lruvec, struct scan_control *sc, int swappiness, in isolate_folios() argument
5137 if (!swappiness) in isolate_folios()
5141 else if (swappiness == 1) in isolate_folios()
[all …]
Dmemcontrol.c4192 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()
5369 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
/Linux-v6.6/Documentation/admin-guide/mm/
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-v6.6/Documentation/admin-guide/cgroup-v1/
Dmemory.rst87 memory.swappiness set/show swappiness parameter of vmscan
88 (See sysctl's vm.swappiness)
607 5.3 swappiness
610 Overrides /proc/sys/vm/swappiness for the particular group. The tunable
611 in the root cgroup corresponds to the global swappiness setting.
614 enforces that 0 swappiness really prevents from any swapping even if
/Linux-v6.6/include/linux/
Dswap.h618 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
Dmemcontrol.h248 int swappiness; member
/Linux-v6.6/Documentation/admin-guide/sysctl/
Dvm.rst71 - swappiness
889 swappiness chapter
907 is on average 2x faster than IO from the filesystem, swappiness should
/Linux-v6.6/Documentation/mm/
Dmultigen_lru.rst107 between anon and file types proportional to the swappiness level.
/Linux-v6.6/Documentation/admin-guide/
Dkernel-parameters.txt6318 Example: sysctl.vm.swappiness=40