From: Joonsoo Kim Date: Fri, 26 Oct 2012 14:03:49 +0000 (+0900) Subject: workqueue: add WARN_ON_ONCE() on CPU number to wq_worker_waking_up() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~59^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3657600040a7279e52252af3f9d7e253f4f49ef0;p=pandora-kernel.git workqueue: add WARN_ON_ONCE() on CPU number to wq_worker_waking_up() Recently, workqueue code has gone through some changes and we found some bugs related to concurrency management operations happening on the wrong CPU. When a worker is concurrency managed (!WORKER_NOT_RUNNIG), it should be bound to its associated cpu and woken up to that cpu. Add WARN_ON_ONCE() to verify this. Signed-off-by: Joonsoo Kim Signed-off-by: Tejun Heo --- Reading git-diff-tree failed