From: Li Zefan Date: Sun, 9 Jun 2013 09:15:22 +0000 (+0800) Subject: cpuset: introduce effective_{cpumask|nodemask}_cpuset() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~43^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=070b57fcacc9dfc23a180290079078373fb697e1;p=pandora-kernel.git cpuset: introduce effective_{cpumask|nodemask}_cpuset() effective_cpumask_cpuset() returns an ancestor cpuset which has non-empty cpumask. If a cpuset is empty and the tasks in it need to update their cpus_allowed, they take on the ancestor cpuset's cpumask. This currently won't change any behavior, but it will later allow us to keep tasks in empty cpusets. Signed-off-by: Li Zefan Signed-off-by: Tejun Heo --- Reading git-diff-tree failed