From: Daisuke Nishimura Date: Thu, 8 Jan 2009 02:08:28 +0000 (-0800) Subject: memcg: don't trigger oom at page migration X-Git-Tag: v2.6.29-rc1~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bb4edf24b26358eccfc69ac8b9a9c36ccc312da;p=pandora-kernel.git memcg: don't trigger oom at page migration I think triggering OOM at mem_cgroup_prepare_migration would be just a bit overkill. Returning -ENOMEM would be enough for mem_cgroup_prepare_migration. The caller would handle the case anyway. Signed-off-by: Daisuke Nishimura Acked-by: KAMEZAWA Hiroyuki Acked-by: Balbir Singh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed