]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memcg: fix oom schedule_timeout()
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Wed, 5 Oct 2011 00:43:49 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Oct 2011 06:00:05 +0000 (17:00 +1100)
commitab1b34c8aa14a58ad9fe583d606e64522d0ed015
tree3e099582fc7d99dade9e4cfb1f0bd31a39add451
parent7c480293f24ca26e0cc48c2aa94931b669dd0c2b
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>
mm/memcontrol.c