Searched refs:swappiness (Results 1 – 9 of 9) sorted by relevance
3018 int swappiness = mem_cgroup_swappiness(memcg); in get_scan_count() local3038 if (cgroup_reclaim(sc) && !swappiness) { in get_scan_count()3048 if (!sc->priority && swappiness) { in get_scan_count()3091 ap = swappiness * (total_cost + 1); in get_scan_count()3094 fp = (200 - swappiness) * (total_cost + 1); in get_scan_count()5108 static int get_type_to_scan(struct lruvec *lruvec, int swappiness, int *tier_idx) in get_type_to_scan() argument5112 int gain[ANON_AND_FILE] = { swappiness, 200 - swappiness }; in get_type_to_scan()5136 static int isolate_folios(struct lruvec *lruvec, struct scan_control *sc, int swappiness, in isolate_folios() argument5150 if (!swappiness) in isolate_folios()5154 else if (swappiness == 1) in isolate_folios()[all …]
4198 WRITE_ONCE(memcg->swappiness, val); in mem_cgroup_swappiness_write()5394 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent)); in mem_cgroup_css_alloc()
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``.
87 memory.swappiness set/show swappiness parameter of vmscan88 (See sysctl's vm.swappiness)607 5.3 swappiness610 Overrides /proc/sys/vm/swappiness for the particular group. The tunable611 in the root cgroup corresponds to the global swappiness setting.614 enforces that 0 swappiness really prevents from any swapping even if
623 return READ_ONCE(memcg->swappiness); in mem_cgroup_swappiness()
248 int swappiness; member
71 - swappiness889 swappiness chapter907 is on average 2x faster than IO from the filesystem, swappiness should
107 between anon and file types proportional to the swappiness level.
6367 Example: sysctl.vm.swappiness=40