From: Li Zefan Date: Wed, 23 Mar 2011 23:42:46 +0000 (-0700) Subject: cpuset: remove unneeded NODEMASK_ALLOC() in cpuset_attach() X-Git-Tag: v2.6.39-rc1~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8163ca8afcac0fc54593fc60d1e1110edbd0eb2;p=pandora-kernel.git cpuset: remove unneeded NODEMASK_ALLOC() in cpuset_attach() oldcs->mems_allowed is not modified during cpuset_attach(), so we don't have to copy it to a buffer allocated by NODEMASK_ALLOC(). Just pass it to cpuset_migrate_mm(). Signed-off-by: Li Zefan Cc: Paul Menage Acked-by: David Rientjes Cc: Miao Xie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed