Messages in this thread | | | Subject | Re: [PATCH 0/3] hrtimer: HRTIMER_STATE_ fixes | From | Peter Zijlstra <> | Date | Mon, 08 Jun 2015 21:08:43 +0200 |
| |
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.
| |