Home
last modified time | relevance | path

Searched refs:target_memcg (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dmemcg_reclaim.c239 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()
Dworkingset.c253 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()
Dvmscan.c790 bool reclaimed, struct mem_cgroup *target_memcg) in __remove_mapping() argument
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()
/kernel/linux/linux-5.10/include/linux/
Dswap.h317 void *workingset_eviction(struct page *page, struct mem_cgroup *target_memcg);