Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1160720

Re: [PATCH 0/3] hrtimer: HRTIMER_STATE_ fixes

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] hrtimer: HRTIMER_STATE_ fixes
Date 2015-06-08 21:10 +0200
Message-ID <pzaAO-7UC-27@gated-at.bofh.it> (permalink)
References (3 earlier) <pz1nR-2xQ-17@gated-at.bofh.it> <pz64b-10l-37@gated-at.bofh.it> <pz70e-2uU-7@gated-at.bofh.it> <pz7jz-2Uc-1@gated-at.bofh.it> <pz8Sm-5iZ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the  timer Oleg Nesterov <oleg@redhat.com> - 2015-06-08 00:40 +0200
  Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the  timer Oleg Nesterov <oleg@redhat.com> - 2015-06-08 01:00 +0200
  Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the  timer Peter Zijlstra <peterz@infradead.org> - 2015-06-08 13:00 +0200
  Re: [PATCH 0/3] hrtimer: HRTIMER_STATE_ fixes Peter Zijlstra <peterz@infradead.org> - 2015-06-08 21:10 +0200
  Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the  timer Peter Zijlstra <peterz@infradead.org> - 2015-06-11 00:40 +0200

csiph-web