memcg: fix oom schedule_timeout()
commit715a5ee82ab3c07430f748630044354132add5ad
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Wed, 2 Nov 2011 20:38:18 +0000 (2 13:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:06:59 +0000 (2 16:06 -0700)
treef77a20fbcd0e19dcb3b65f511194e01e8095bf6a
parentc0ff4b8540a5c158b8e5bafb7d767298b67b0b92
memcg: fix oom schedule_timeout()

Before calling schedule_timeout(), task state should be changed.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c