Home
last modified time | relevance | path

Searched refs:do_swap_account (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/mm/
Dmemcontrol.c66 int do_swap_account __read_mostly;
76 #define do_swap_account (0) macro
1279 if (do_swap_account) in mem_cgroup_margin()
2040 if (do_swap_account) in drain_stock()
2210 if (!do_swap_account) in mem_cgroup_do_charge()
2433 if (do_swap_account) in __mem_cgroup_cancel_charge()
2809 if (!do_swap_account) in mem_cgroup_try_charge_swapin()
2855 if (do_swap_account && PageSwapCache(page)) { in __mem_cgroup_commit_charge_swapin()
2908 if (!do_swap_account || ctype == MEM_CGROUP_CHARGE_TYPE_SWAPOUT) in mem_cgroup_do_uncharge()
3031 if (do_swap_account && ctype == MEM_CGROUP_CHARGE_TYPE_SWAPOUT) { in __mem_cgroup_uncharge_common()
[all …]
Dpage_cgroup.c465 if (!do_swap_account) in swap_cgroup_swapon()
504 if (!do_swap_account) in swap_cgroup_swapoff()
/linux-3.4.99/include/linux/
Dmemcontrol.h134 extern int do_swap_account;