]> git.baikalelectronics.ru Git - kernel.git/commit
cpuset: fix the WARN_ON() in update_nodemasks_hier()
authorLi Zefan <lizefan@huawei.com>
Wed, 30 Jul 2014 07:07:13 +0000 (15:07 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 30 Jul 2014 15:26:58 +0000 (11:26 -0400)
commit0f3cf8b1a6af18fc061e283d50a896b578106281
treeca8f04658aba2a9b16a755c7b402426d8301d1b1
parent7de96bec4709ec85b19173cb7a36dd93c9a1c81b
cpuset: fix the WARN_ON() in update_nodemasks_hier()

The WARN_ON() is used to check if we break the legal hierarchy, on
which the effective mems should be equal to configured mems.

Reported-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Tested-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Signed-off-by: Li Zefan <lizefan@huawei.com>
kernel/cpuset.c