Hello, Chris. On Wed, Aug 07, 2013 at 04:49:44PM -0400, Chris Metcalf wrote: > This primitive allows scheduling work to run on a particular set of > cpus described by a "struct cpumask". This can be useful, for example, > if you have a per-cpu variable that requires code execution only if the > per-cpu variable has a certain value (for example, is a non-empty list).
So, this allows scheduling work items on !online CPUs. Workqueue does allow scheduling per-cpu work items on offline CPUs if the CPU has ever been online, but the behavior when scheduling work items on cpu which has never been online is undefined. I think the interface at least needs to verify that the the target cpus have been online, trigger warning and mask off invalid CPUs otherwise. 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/