RE: RFC: better timer interface

From
Thomas Gleixner <hidden>
Date
2017-05-23 13:02:22
Also in
linux-s390, lkml
Reply to
David Laight, 2017-05-23
On Tue, 23 May 2017, David Laight wrote:
From: Thomas Gleixner
quoted
Sent: 23 May 2017 12:59
On Tue, 23 May 2017, David Laight wrote:
quoted
From: Thomas Gleixner
quoted
Sent: 21 May 2017 19:15
...
quoted
quoted
timer_start(timer, ms, abs)
I'm not even sure, whether we need absolute timer wheel timers at
all, because most use cases are relative to now.
Posix requires absolute timers for some userspace calls
(annoying because the code often wants relative).
Posix is completely irrelevant here. These timers are purely kernel
internal.
Somehow pthread_cond_timedwait() has to be implemented.
Doing so without kernel timers that use absolute 'wall clock' time is tricky.
Oh well. The timer wheel timers are NOT used to implement any posix
interface. That's all handled by hrtimers and they are not debated here.

So still nothing to see here.

Thanks,

	tglx
Thread (39 messages) 39 messages, 7 authors, last reply 2017-05-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help