On Mon, Sep 09, 2013 at 04:40:38PM +0200, Frederic Weisbecker wrote: > > If the state migrates with a task from one CPU to another, it's a task > > state. > > This applies to preempt_count as well.
This is in fact true. Its something I'd like to cure, but currently the PREEMPT_ACTIVE state makes this so. Hence the need to save/restore the per-cpu preempt state in the per-cpu preempt_count patches. -- 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/