Searched refs:swappiness (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/mm/ |
D | vmscan.c | 2904 int swappiness = mem_cgroup_swappiness(memcg); in get_scan_count() local 2924 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count() 2934 if (!sc->priority && swappiness) { in get_scan_count() 2977 ap = swappiness * (total_cost + 1); in get_scan_count() 2980 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count() 4492 int swappiness = get_swappiness(lruvec, sc); in age_lruvec() local 4504 need_aging = should_run_aging(lruvec, max_seq, min_seq, sc, swappiness, &nr_to_scan); in age_lruvec() 4519 try_to_inc_max_seq(lruvec, max_seq, sc, swappiness, false); in age_lruvec() 4909 static int get_type_to_scan(struct lruvec *lruvec, int swappiness, int *tier_idx) in get_type_to_scan() argument 4913 int gain[ANON_AND_FILE] = { swappiness, 200 - swappiness }; in get_type_to_scan() [all …]
|
D | memcontrol.c | 4161 memcg->swappiness = val; in mem_cgroup_swappiness_write() 5335 memcg->swappiness = mem_cgroup_swappiness(parent); in mem_cgroup_css_alloc()
|
/linux-6.1.9/Documentation/admin-guide/mm/ |
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``.
|
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/ |
D | memory.rst | 86 memory.swappiness set/show swappiness parameter of vmscan 87 (See sysctl's vm.swappiness) 592 5.3 swappiness 595 Overrides /proc/sys/vm/swappiness for the particular group. The tunable 596 in the root cgroup corresponds to the global swappiness setting. 599 enforces that 0 swappiness really prevents from any swapping even if
|
/linux-6.1.9/include/linux/ |
D | swap.h | 637 return memcg->swappiness; in mem_cgroup_swappiness()
|
D | memcontrol.h | 245 int swappiness; member
|
/linux-6.1.9/Documentation/admin-guide/sysctl/ |
D | vm.rst | 71 - swappiness 889 swappiness chapter 907 is on average 2x faster than IO from the filesystem, swappiness should
|
/linux-6.1.9/Documentation/admin-guide/ |
D | kernel-parameters.txt | 6088 Example: sysctl.vm.swappiness=40
|