Home
last modified time | relevance | path

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

/linux/mm/
H A Dvmscan.c2445 int swappiness, u64 *fraction, u64 *denominator) in calculate_pressure_balance() argument
2470 ap = swappiness * (total_cost + 1); in calculate_pressure_balance()
2473 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in calculate_pressure_balance()
2555 int swappiness = sc_swappiness(sc, memcg); in get_scan_count() local
2568 if (swappiness == SWAPPINESS_ANON_ONLY) { in get_scan_count()
2591 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count()
2601 if (!sc->priority && swappiness) { in get_scan_count()
2625 calculate_pressure_balance(sc, swappiness, fraction, &denominator); in get_scan_count()
2727 #define min_type(swappiness) (!(swappiness)) argument
2728 #define max_type(swappiness) ((swappiness) < SWAPPINESS_ANON_ONLY) argument
[all …]
H A Dswap.h90 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
H A Dinternal.h87 int *swappiness);
H A Dmemcontrol-v1.c2328 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()
H A Dmemcontrol.c4241 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/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst89 memory.swappiness set/show swappiness parameter of vmscan
90 (See sysctl's vm.swappiness)
615 5.3 swappiness
618 Overrides /proc/sys/vm/swappiness for the particular group. The tunable
619 in the root cgroup corresponds to the global swappiness setting.
622 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/mm/
H A Dmultigen_lru.rst107 between anon and file types proportional to the swappiness level.
/linux/include/linux/
H A Dmmzone.h630 int swappiness; member
H A Dmemcontrol.h325 int swappiness; member
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst1456 swappiness Swappiness value to reclaim with
1459 Specifying a swappiness value instructs the kernel to perform
1460 the reclaim with that swappiness value. Note that this has the
1461 same semantics as vm.swappiness applied to memcg reclaim with
1464 The valid range for swappiness is [0-200, max], setting
1465 swappiness=max exclusively reclaims anonymous memory.
H A Dkernel-parameters.txt7531 Example: sysctl.vm.swappiness=40