Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dvmscan.c2375 int swappiness = sc_swappiness(sc, memcg); in get_scan_count() local
2395 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count()
2405 if (!sc->priority && swappiness) { in get_scan_count()
2448 ap = swappiness * (total_cost + 1); in get_scan_count()
2451 fp = (MAX_SWAPPINESS - swappiness) * (total_cost + 1); in get_scan_count()
4484 static int get_type_to_scan(struct lruvec *lruvec, int swappiness, int *tier_idx) in get_type_to_scan() argument
4488 int gain[ANON_AND_FILE] = { swappiness, MAX_SWAPPINESS - swappiness }; in get_type_to_scan()
4512 static int isolate_folios(struct lruvec *lruvec, struct scan_control *sc, int swappiness, in isolate_folios() argument
4529 if (!swappiness) in isolate_folios()
4533 else if (swappiness == 1) in isolate_folios()
[all …]
Dmemcontrol.c3576 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
4289 int swappiness = -1; in memory_reclaim() local
4308 if (match_int(&args[0], &swappiness)) in memory_reclaim()
4310 if (swappiness < MIN_SWAPPINESS || swappiness > MAX_SWAPPINESS) in memory_reclaim()
4338 swappiness == -1 ? NULL : &swappiness); in memory_reclaim()
Dmemcontrol-v1.c2852 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()
/linux-6.12.1/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-6.12.1/include/linux/
Dswap.h419 int *swappiness);
631 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
Dmemcontrol.h223 int swappiness; member
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/
Dmemory.rst91 memory.swappiness set/show swappiness parameter of vmscan
92 (See sysctl's vm.swappiness)
622 5.3 swappiness
625 Overrides /proc/sys/vm/swappiness for the particular group. The tunable
626 in the root cgroup corresponds to the global swappiness setting.
629 enforces that 0 swappiness really prevents from any swapping even if
/linux-6.12.1/Documentation/driver-api/crypto/iaa/
Diaa-crypto.rst474 # echo 100 > /proc/sys/vm/swappiness
624 echo 100 > /proc/sys/vm/swappiness
/linux-6.12.1/Documentation/admin-guide/sysctl/
Dvm.rst73 - swappiness
943 swappiness chapter
961 is on average 2x faster than IO from the filesystem, swappiness should
/linux-6.12.1/Documentation/mm/
Dmultigen_lru.rst107 between anon and file types proportional to the swappiness level.
/linux-6.12.1/Documentation/admin-guide/
Dcgroup-v2.rst1337 swappiness Swappiness value to reclaim with
1340 Specifying a swappiness value instructs the kernel to perform
1341 the reclaim with that swappiness value. Note that this has the
1342 same semantics as vm.swappiness applied to memcg reclaim with
Dkernel-parameters.txt6640 Example: sysctl.vm.swappiness=40