diff options
author | Tejun Heo <tj@kernel.org> | 2010-08-31 11:18:34 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-08-31 11:18:34 +0200 |
commit | 9c37547ab62f88aac3e1e3c2065b611f811de9b5 (patch) | |
tree | 2a9c3655e25c93b4c3ce49c575d5d908045ebdd4 /init | |
parent | workqueue: fix GCWQ_DISASSOCIATED initialization (diff) | |
download | linux-9c37547ab62f88aac3e1e3c2065b611f811de9b5.tar.xz linux-9c37547ab62f88aac3e1e3c2065b611f811de9b5.zip |
workqueue: use zalloc_cpumask_var() for gcwq->mayday_mask
alloc_mayday_mask() was using alloc_cpumask_var() making
gcwq->mayday_mask contain garbage after initialization on
CONFIG_CPUMASK_OFFSTACK=y configurations. This combined with the
previously fixed GCWQ_DISASSOCIATED initialization bug could make
rescuers fall into infinite loop trying to bind to an offline cpu.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: CAI Qian <caiqian@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions