diff options
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r-- | mm/memcontrol.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index ab270e34ba3e..1869cb64d089 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -3157,21 +3157,6 @@ static inline int mem_cgroup_move_swap_account(swp_entry_t entry, | |||
3157 | } | 3157 | } |
3158 | #endif | 3158 | #endif |
3159 | 3159 | ||
3160 | #ifdef CONFIG_DEBUG_VM | ||
3161 | bool mem_cgroup_bad_page_check(struct page *page) | ||
3162 | { | ||
3163 | if (mem_cgroup_disabled()) | ||
3164 | return false; | ||
3165 | |||
3166 | return page->mem_cgroup != NULL; | ||
3167 | } | ||
3168 | |||
3169 | void mem_cgroup_print_bad_page(struct page *page) | ||
3170 | { | ||
3171 | pr_alert("page->mem_cgroup:%p\n", page->mem_cgroup); | ||
3172 | } | ||
3173 | #endif | ||
3174 | |||
3175 | static DEFINE_MUTEX(memcg_limit_mutex); | 3160 | static DEFINE_MUTEX(memcg_limit_mutex); |
3176 | 3161 | ||
3177 | static int mem_cgroup_resize_limit(struct mem_cgroup *memcg, | 3162 | static int mem_cgroup_resize_limit(struct mem_cgroup *memcg, |