]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
memcg: remove redundant check in move_task()
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 30 Jul 2008 05:33:20 +0000 (22:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:44 +0000 (09:41 -0700)
commit4ef1b0fd61333b3b81ebe29283898c6c84b15c9f
tree673b8a3a724c7da185a3507f63843aa694b43ec8
parent55b6fd0162ace1e0f1b52c8c092565c115127ef6
memcg: remove redundant check in move_task()

It's guaranteed by cgroup that old_cgrp != cgrp.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c