Searched refs:swappiness (Results 1 – 13 of 13) sorted by relevance
| /linux/mm/ |
| H A D | vmscan.c | 2445 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 D | swap.h | 90 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
|
| H A D | internal.h | 87 int *swappiness);
|
| H A D | memcontrol-v1.c | 2328 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()
|
| H A D | memcontrol.c | 4241 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | multigen_lru.rst | 149 ``- 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 D | memory.rst | 89 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 D | iaa-crypto.rst | 480 # echo 100 > /proc/sys/vm/swappiness 629 echo 100 > /proc/sys/vm/swappiness
|
| /linux/Documentation/mm/ |
| H A D | multigen_lru.rst | 107 between anon and file types proportional to the swappiness level.
|
| /linux/include/linux/ |
| H A D | mmzone.h | 630 int swappiness; member
|
| H A D | memcontrol.h | 325 int swappiness; member
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1456 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 D | kernel-parameters.txt | 7531 Example: sysctl.vm.swappiness=40
|