Searched refs:swappiness (Results 1 - 4 of 4) sorted by relevance
/linux-master/mm/ |
H A D | vmscan.c | 2340 int swappiness = mem_cgroup_swappiness(memcg); local 2355 * swappiness, but memcg users want to use this knob to 2360 if (cgroup_reclaim(sc) && !swappiness) { 2368 * (unless the swappiness setting disagrees with swapping). 2370 if (!sc->priority && swappiness) { 2400 * anonymous page vs reloading a filesystem page (swappiness). 2404 * applied, before swappiness. 2406 * With swappiness at 100, anon and file have equal IO cost. 2413 ap = swappiness * (total_cost + 1); 2416 fp = (200 - swappiness) * (total_cos 4432 get_type_to_scan(struct lruvec *lruvec, int swappiness, int *tier_idx) argument 4460 isolate_folios(struct lruvec *lruvec, struct scan_control *sc, int swappiness, int *type_scanned, struct list_head *list) argument 4507 evict_folios(struct lruvec *lruvec, struct scan_control *sc, int swappiness) argument 4724 int swappiness = get_swappiness(lruvec, sc); local 5361 run_eviction(struct lruvec *lruvec, unsigned long seq, struct scan_control *sc, int swappiness, unsigned long nr_to_reclaim) argument 5389 run_cmd(char cmd, int memcg_id, int nid, unsigned long seq, struct scan_control *sc, int swappiness, unsigned long opt) argument 5480 unsigned int swappiness = -1; local [all...] |
H A D | memcontrol.c | 4393 WRITE_ONCE(memcg->swappiness, val); 5264 .name = "swappiness", 5583 WRITE_ONCE(memcg->swappiness, mem_cgroup_swappiness(parent));
|
/linux-master/include/linux/ |
H A D | swap.h | 602 /* Cgroup2 doesn't have per-cgroup swappiness */ 610 return READ_ONCE(memcg->swappiness);
|
H A D | memcontrol.h | 245 int swappiness; member in struct:mem_cgroup
|
Completed in 128 milliseconds