summaryrefslogtreecommitdiff
path: root/scripts/ver_linux
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-06-09 09:15:08 (GMT)
committerTejun Heo <tj@kernel.org>2013-06-13 17:48:32 (GMT)
commit33ad801dfb5c8b1127c72fdb745ce8c630150f3f (patch)
tree3bb097f4353c0950194a23338bdd0cbd3fd28134 /scripts/ver_linux
parent388afd8549dc8be0920e00ae9404341593b6bd7c (diff)
downloadlinux-33ad801dfb5c8b1127c72fdb745ce8c630150f3f.tar.xz
cpuset: record old_mems_allowed in struct cpuset
When we update a cpuset's mems_allowed and thus update tasks' mems_allowed, it's required to pass the old mems_allowed and new mems_allowed to cpuset_migrate_mm(). Currently we save old mems_allowed in a temp local variable before changing cpuset->mems_allowed. This patch changes it by saving old mems_allowed in cpuset->old_mems_allowed. This currently won't change any behavior, but it will later allow us to keep tasks in empty cpusets. v3: restored "cpuset_attach_nodemask_to = cs->mems_allowed" Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions