Searched refs:swap_cgroup (Results 1 – 5 of 5) sorted by relevance
16 struct swap_cgroup { struct19 #define SC_PER_PAGE (PAGE_SIZE/sizeof(struct swap_cgroup)) argument61 static struct swap_cgroup *lookup_swap_cgroup(swp_entry_t ent, in lookup_swap_cgroup()67 struct swap_cgroup *sc; in lookup_swap_cgroup()91 struct swap_cgroup *sc; in swap_cgroup_cmpxchg()118 struct swap_cgroup *sc; in swap_cgroup_record()
64 obj-$(CONFIG_MEMCG_SWAP) += swap_cgroup.o
17 swap_cgroup ... an entry per swp_entry.21 occurs. swap_cgroup is used only when a charged page is swapped-out.102 - A swp page is read. (move a charge from swap_cgroup to page_cgroup)
1028 Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
2983 F: mm/swap_cgroup.c