summaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_balloon.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-07-20 15:59:09 +0200
committerTejun Heo <tj@kernel.org>2010-07-20 15:59:09 +0200
commitf2e005aaff4878a8ea93d5fb033a21389b72579a (patch)
tree13929e2e6010d10ec84dfd43e2cd063002daecca /include/linux/virtio_balloon.h
parent931ac77ef65d2d90ee1def63d2041402ec7c53ab (diff)
downloadblackbird-op-linux-f2e005aaff4878a8ea93d5fb033a21389b72579a.tar.gz
blackbird-op-linux-f2e005aaff4878a8ea93d5fb033a21389b72579a.zip
workqueue: fix mayday_mask handling on UP
All cpumasks are assumed to have cpu 0 permanently set on UP, so it can't be used to signify whether there's something to be done for the CPU. workqueue was using cpumask to track which CPU requested rescuer assistance and this led rescuer thread to think there always are pending mayday requests on UP, which resulted in infinite busy loops. This patch fixes the problem by introducing mayday_mask_t and associated helpers which wrap cpumask on SMP and emulates its behavior using bitops and unsigned long on UP. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio_balloon.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud