Searched refs:swap_cgroup (Results 1 – 4 of 4) sorted by relevance
17 struct swap_cgroup { struct20 #define SC_PER_PAGE (PAGE_SIZE/sizeof(struct swap_cgroup)) argument65 static struct swap_cgroup *__lookup_swap_cgroup(struct swap_cgroup_ctrl *ctrl, in __lookup_swap_cgroup()69 struct swap_cgroup *sc; in __lookup_swap_cgroup()76 static struct swap_cgroup *lookup_swap_cgroup(swp_entry_t ent, in lookup_swap_cgroup()101 struct swap_cgroup *sc; in swap_cgroup_cmpxchg()130 struct swap_cgroup *sc; in swap_cgroup_record()
81 obj-$(CONFIG_MEMCG_SWAP) += swap_cgroup.o
24 swap_cgroup ... an entry per swp_entry.29 occurs. swap_cgroup is used only when a charged page is swapped-out.127 - A swp page is read. (move a charge from swap_cgroup to page_cgroup)
4210 F: mm/swap_cgroup.c