[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6DCFFFD8B2@AcuExch.aculab.com>
Date: Tue, 23 May 2017 11:36:38 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Thomas Gleixner' <tglx@...utronix.de>,
Arnd Bergmann <arnd@...db.de>
CC: linux-s390 <linux-s390@...r.kernel.org>,
Mark Gross <mark.gross@...el.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Tejun Heo <tj@...nel.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
Christoph Hellwig <hch@....de>
Subject: RE: RFC: better timer interface
From: Thomas Gleixner
> Sent: 21 May 2017 19:15
...
> > 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).
OTOH how much conditional code is there for the 'abs' argument.
And is there any code that doesn't pass a constant?
Certainly worth a separate timer_start_abs(timer, wall_time)
function since you can't correctly map a wall_time timer
to a jiffies one.
David
Powered by blists - more mailing lists