Messages in this thread | | | Date | Thu, 18 Nov 2010 11:49:08 +0200 | From | Alexander Shishkin <> | Subject | Re: [PATCHv6 0/7] system time changes notification |
| |
On Wed, Nov 17, 2010 at 10:46:48PM +0100, Thomas Gleixner wrote: > On Wed, 17 Nov 2010, Alexander Shishkin wrote: > > > On Wed, Nov 17, 2010 at 12:42:52PM -0800, Davide Libenzi wrote: > > > On Wed, 17 Nov 2010, Alexander Shishkin wrote: > > > > > > > > But what you folks really want for this stuff is an extension to > > > > > timerfd as you want to be able to poll, right? > > > > > > > > > > So what about the following: > > > > > > > > > > Add a new flag TDF_NOTIFY_CLOCK_WAS_SET to the timerfd flags. Now this > > > > > flag adds the timer to a separate list, which gets woken up when the > > > > > clock is set. > > > > > > > > > > No new syscall, just a few lines of code in fs/timerfd.c and > > > > > clock_was_set(). > > > > > > > > > > Thoughts ? > > > > > > > > Something like this (sans ugliness)? > > > > > > Oh, gosh, please. This is interface-multiplexing-a-palooza. > > > > Thomas made a suggestion, I came up with how it might look like so that > > Yeah, I made the suggestion in the first place and I regretted it when > Davide told me that I'm nuts :)
Well, I haven't seen any convincing technical arguments in either of his emails. Kay, for example, made a clear point.
Regards, -- Alex
| |