Home
last modified time | relevance | path

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

/linux/mm/
H A Dvmscan.c2450 int swappiness, u64 *fraction, u64 *denominator) in calculate_pressure_balance() argument
2475 ap = swappiness * (total_cost + 1); in calculate_pressure_balance()
2478 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in calculate_pressure_balance()
2561 int swappiness = sc_swappiness(sc, memcg); in get_scan_count() local
2580 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count()
2586 if (swappiness == SWAPPINESS_ANON_ONLY) { in get_scan_count()
2597 if (!sc->priority && swappiness) { in get_scan_count()
2621 calculate_pressure_balance(sc, swappiness, fraction, &denominator); in get_scan_count()
2722 #define min_type(swappiness) (!(swappiness)) argument
2723 #define max_type(swappiness) ((swappiness) < SWAPPINESS_ANON_ONLY) argument
[all …]
H A Dmemcontrol-v1.c1961 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()
H A Dmemcontrol.c3803 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
/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`` and the valid
/linux/include/linux/
H A Dswap.h398 int *swappiness);
602 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
H A Dmmzone.h557 int swappiness; member
H A Dmemcontrol.h229 int swappiness; member
/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst91 memory.swappiness set/show swappiness parameter of vmscan
92 (See sysctl's vm.swappiness)
621 5.3 swappiness
624 Overrides /proc/sys/vm/swappiness for the particular group. The tunable
625 in the root cgroup corresponds to the global swappiness setting.
628 enforces that 0 swappiness really prevents from any swapping even if
/linux/Documentation/driver-api/crypto/iaa/
H A Diaa-crypto.rst480 # echo 100 > /proc/sys/vm/swappiness
629 echo 100 > /proc/sys/vm/swappiness
/linux/Documentation/admin-guide/sysctl/
H A Dvm.rst74 - swappiness
959 swappiness chapter
977 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.rst1434 swappiness Swappiness value to reclaim with
1437 Specifying a swappiness value instructs the kernel to perform
1438 the reclaim with that swappiness value. Note that this has the
1439 same semantics as vm.swappiness applied to memcg reclaim with
1442 The valid range for swappiness is [0-200, max], setting
1443 swappiness=max exclusively reclaims anonymous memory.
H A Dkernel-parameters.txt7269 Example: sysctl.vm.swappiness=40