Hello, On Mon, May 20, 2013 at 08:47:27AM +0200, Borislav Petkov wrote: > > So there are two questions here: > > 1. Is gov_queue_work() want to queue the work on offline cpu? > > 2. Is mod_delayed_work_on() allow offline cpu? > > > > I guess both should be false? > > Well, if we don't allow queueing work on a cpu which goes offline, i.e. > #2, the problem should be solved. > > Tejun?
Workqueue proper would behave okish (no affinity of course but the work items are still executed) but mod_delayed_work_on() adds a timer on the target CPU and I think adding a timer on an offline cpu would be a problem. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/