Searched refs:target_memcg (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/mm/ |
H A D | memcg_reclaim.c | 241 struct mem_cgroup *target_memcg = sc->target_mem_cgroup; in shrink_anon() local 251 if (!memcg_is_child_of(memcg, target_memcg)) in shrink_anon() 276 mem_cgroup_calculate_protection(target_memcg, memcg); in shrink_anon() 278 if (mem_cgroup_below_min(target_memcg, memcg)) { in shrink_anon() 284 } else if (mem_cgroup_below_low(target_memcg, memcg)) { in shrink_anon()
|
H A D | workingset.c | 375 * @target_memcg: the cgroup that is causing the reclaim 381 void *workingset_eviction(struct folio *folio, struct mem_cgroup *target_memcg) in workingset_eviction() argument 396 lruvec = mem_cgroup_lruvec(target_memcg, pgdat); in workingset_eviction() 397 /* XXX: target_memcg can be NULL, go through lruvec */ in workingset_eviction()
|
H A D | vmscan.c | 1308 bool reclaimed, struct mem_cgroup *target_memcg) in __remove_mapping() 1357 shadow = workingset_eviction(folio, target_memcg); in __remove_mapping() 1384 shadow = workingset_eviction(folio, target_memcg); in __remove_mapping() 6462 struct mem_cgroup *target_memcg = sc->target_mem_cgroup; in shrink_node_memcgs() local 6465 memcg = mem_cgroup_iter(target_memcg, NULL, NULL); in shrink_node_memcgs() 6479 mem_cgroup_calculate_protection(target_memcg, memcg); in shrink_node_memcgs() 6481 if (mem_cgroup_below_min(target_memcg, memcg)) { in shrink_node_memcgs() 6487 } else if (mem_cgroup_below_low(target_memcg, memcg)) { in shrink_node_memcgs() 6515 } while ((memcg = mem_cgroup_iter(target_memcg, memcg, NULL))); in shrink_node_memcgs() 6796 static void snapshot_refaults(struct mem_cgroup *target_memcg, pg_data_ argument 1307 __remove_mapping(struct address_space *mapping, struct folio *folio, bool reclaimed, struct mem_cgroup *target_memcg) __remove_mapping() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | memcg_reclaim.c | 239 struct mem_cgroup *target_memcg = sc->target_mem_cgroup; in shrink_anon() local 249 if (!memcg_is_child_of(memcg, target_memcg)) in shrink_anon() 274 mem_cgroup_calculate_protection(target_memcg, memcg); in shrink_anon()
|
H A D | workingset.c | 247 * @target_memcg: the cgroup that is causing the reclaim 253 void *workingset_eviction(struct page *page, struct mem_cgroup *target_memcg) in workingset_eviction() argument 265 lruvec = mem_cgroup_lruvec(target_memcg, pgdat); in workingset_eviction() 276 /* XXX: target_memcg can be NULL, go through lruvec */ in workingset_eviction()
|
H A D | vmscan.c | 790 bool reclaimed, struct mem_cgroup *target_memcg) in __remove_mapping() 838 shadow = workingset_eviction(page, target_memcg); in __remove_mapping() 864 shadow = workingset_eviction(page, target_memcg); in __remove_mapping() 2600 struct mem_cgroup *target_memcg = sc->target_mem_cgroup; in shrink_node_memcgs() local 2603 memcg = mem_cgroup_iter(target_memcg, NULL, NULL); in shrink_node_memcgs() 2617 mem_cgroup_calculate_protection(target_memcg, memcg); in shrink_node_memcgs() 2652 } while ((memcg = mem_cgroup_iter(target_memcg, memcg, NULL))); in shrink_node_memcgs() 2977 static void snapshot_refaults(struct mem_cgroup *target_memcg, pg_data_t *pgdat) in snapshot_refaults() argument 2990 target_lruvec = mem_cgroup_lruvec(target_memcg, pgdat); in snapshot_refaults() 789 __remove_mapping(struct address_space *mapping, struct page *page, bool reclaimed, struct mem_cgroup *target_memcg) __remove_mapping() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | swap.h | 317 void *workingset_eviction(struct page *page, struct mem_cgroup *target_memcg);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | swap.h | 348 void *workingset_eviction(struct folio *folio, struct mem_cgroup *target_memcg);
|
Completed in 19 milliseconds