memcg: fix oom schedule_timeout()
authorKAMEZAWA Hiroyuki <[email protected]>
Wed, 2 Nov 2011 20:38:18 +0000 (13:38 -0700)
committerLinus Torvalds <[email protected]>
Wed, 2 Nov 2011 23:06:59 +0000 (16:06 -0700)
commit715a5ee82ab3c07430f748630044354132add5ad
treef77a20fbcd0e19dcb3b65f511194e01e8095bf6a
parentc0ff4b8540a5c158b8e5bafb7d767298b67b0b92
memcg: fix oom schedule_timeout()

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

Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c