Home
last modified time | relevance | path

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

/linux-6.15/mm/
H A Dvmscan.c2694 min((min_seq)[!(swappiness)], (min_seq)[(swappiness) <= MAX_SWAPPINESS])
2702 for ((type) = !(swappiness); (type) <= ((swappiness) <= MAX_SWAPPINESS); (type)++)
3344 return !walk->swappiness; in should_skip_vma()
3354 return !walk->swappiness; in should_skip_vma()
3853 if (type ? swappiness > MAX_SWAPPINESS : !swappiness) in inc_min_seq()
3919 if (swappiness && swappiness <= MAX_SWAPPINESS) { in try_to_inc_min_seq()
4042 walk->swappiness = swappiness; in try_to_inc_max_seq()
4633 if (swappiness >= MAX_SWAPPINESS) in get_type_to_scan()
5517 if (swappiness < MIN_SWAPPINESS) in run_cmd()
5580 unsigned int swappiness = -1; in lru_gen_seq_write() local
[all …]
H A Dmemcontrol.c3684 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
4410 int swappiness = -1; in memory_reclaim() local
4429 if (match_int(&args[0], &swappiness)) in memory_reclaim()
4431 if (swappiness < MIN_SWAPPINESS || swappiness > MAX_SWAPPINESS) in memory_reclaim()
4459 swappiness == -1 ? NULL : &swappiness); in memory_reclaim()
H A Dmemcontrol-v1.c1961 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()
/linux-6.15/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-6.15/include/linux/
H A Dswap.h421 int *swappiness);
619 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
H A Dmmzone.h523 int swappiness; member
H A Dmemcontrol.h223 int swappiness; member
/linux-6.15/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-6.15/Documentation/driver-api/crypto/iaa/
H A Diaa-crypto.rst481 # echo 100 > /proc/sys/vm/swappiness
631 echo 100 > /proc/sys/vm/swappiness
/linux-6.15/Documentation/admin-guide/sysctl/
H A Dvm.rst74 - swappiness
952 swappiness chapter
970 is on average 2x faster than IO from the filesystem, swappiness should
/linux-6.15/Documentation/mm/
H A Dmultigen_lru.rst107 between anon and file types proportional to the swappiness level.
/linux-6.15/Documentation/admin-guide/
H A Dcgroup-v2.rst1343 swappiness Swappiness value to reclaim with
1346 Specifying a swappiness value instructs the kernel to perform
1347 the reclaim with that swappiness value. Note that this has the
1348 same semantics as vm.swappiness applied to memcg reclaim with
H A Dkernel-parameters.txt7043 Example: sysctl.vm.swappiness=40