On Mon, 2015-06-08 at 19:11 +0200, Thomas Gleixner wrote: > > Ah, yes, we could introduce timerqueue_is_queued() which uses > > RB_EMPTY_NODE(). Obviating the need for hrtimer::state entirely. > > Which won't work for the migration case unless we have some trickery > like we do with double linked lists (not setting the prev member to > NULL on dequeue).
Yeah, that dawned on me while away from the computer. -- 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/