diff options
| -rw-r--r-- | mm/memcontrol.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index e63278222be5..13b9d0f221b8 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
| @@ -3782,7 +3782,6 @@ void mem_cgroup_move_account_page_stat(struct mem_cgroup *from, | |||
| 3782 | { | 3782 | { |
| 3783 | /* Update stat data for mem_cgroup */ | 3783 | /* Update stat data for mem_cgroup */ |
| 3784 | preempt_disable(); | 3784 | preempt_disable(); |
| 3785 | WARN_ON_ONCE(from->stat->count[idx] < nr_pages); | ||
| 3786 | __this_cpu_sub(from->stat->count[idx], nr_pages); | 3785 | __this_cpu_sub(from->stat->count[idx], nr_pages); |
| 3787 | __this_cpu_add(to->stat->count[idx], nr_pages); | 3786 | __this_cpu_add(to->stat->count[idx], nr_pages); |
| 3788 | preempt_enable(); | 3787 | preempt_enable(); |
