Home
last modified time | relevance | path

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

/linux-2.6.39/mm/
Dmemcontrol.c63 int do_swap_account __read_mostly;
73 #define do_swap_account (0) macro
1182 if (do_swap_account) in mem_cgroup_margin()
1753 if (do_swap_account) in drain_stock()
1906 if (!do_swap_account) in mem_cgroup_do_charge()
2111 if (do_swap_account) in __mem_cgroup_cancel_charge()
2546 if (!do_swap_account) in mem_cgroup_try_charge_swapin()
2587 if (do_swap_account && PageSwapCache(page)) { in __mem_cgroup_commit_charge_swapin()
2638 if (!do_swap_account || ctype == MEM_CGROUP_CHARGE_TYPE_SWAPOUT) in mem_cgroup_do_uncharge()
2752 if (do_swap_account && ctype == MEM_CGROUP_CHARGE_TYPE_SWAPOUT) { in __mem_cgroup_uncharge_common()
[all …]
Dpage_cgroup.c475 if (!do_swap_account) in swap_cgroup_swapon()
514 if (!do_swap_account) in swap_cgroup_swapoff()
/linux-2.6.39/include/linux/
Dmemcontrol.h120 extern int do_swap_account;