john stultz
17c38b7490
Cache xtime every call to update_wall_time
...
This avoids xtime lag seen with dynticks, because while 'xtime' itself
is still not updated often, we keep a 'xtime_cache' variable around that
contains the approximate real-time that _is_ updated each time we do a
'update_wall_time()', and is thus never off by more than one tick.
IOW, this restores the original semantics for 'xtime' users, as long as
you use the proper abstraction functions (ie 'current_kernel_time()' or
'get_seconds()' depending on whether you want a timespec or just the
seconds field).
[ Updated Patch. As penance for my sins I've also yanked another #ifdef
that was added to avoid the xtime lag w/ hrtimers. ]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-25 10:17:44 -07:00
..
2007-07-17 10:23:07 -07:00
2007-07-12 15:41:24 -07:00
2007-07-14 20:47:26 -07:00
2007-07-18 02:21:50 -07:00
2007-07-19 10:04:52 -07:00
2007-07-24 09:28:11 +02:00
2007-07-17 10:23:09 -07:00
2007-07-18 00:36:04 -04:00
2007-07-19 15:21:39 -04:00
2007-07-12 16:29:50 -07:00
2007-07-21 18:37:10 -07:00
2007-07-19 10:04:43 -07:00
2007-07-20 08:44:19 -07:00
2007-07-20 01:11:59 +02:00
2007-07-16 09:05:42 -07:00
2007-07-22 09:57:02 -04:00
2007-07-16 09:05:52 -07:00
2007-07-16 01:20:23 +01:00
2007-07-19 10:04:45 -07:00
2007-07-24 10:29:42 +02:00
2007-07-24 09:28:11 +02:00
2007-07-21 08:58:23 -05:00
2007-07-19 19:50:50 +10:00
2007-07-16 09:05:51 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:48 -07:00
2007-07-21 17:49:15 -07:00
2007-07-20 11:22:30 -07:00
2007-07-21 17:49:14 -07:00
2007-07-21 17:49:14 -07:00
2007-07-21 18:37:08 -07:00
2007-07-21 18:37:08 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:48 -07:00
2007-07-17 10:23:04 -07:00
2007-07-20 21:42:24 +02:00
2007-07-18 15:49:50 -07:00
2007-07-16 09:05:45 -07:00
2007-07-13 08:06:13 -07:00
2007-07-16 09:05:42 -07:00
2007-07-19 10:04:54 -07:00
2007-07-12 10:55:56 -07:00
2007-07-17 10:23:06 -07:00
2007-07-24 09:28:11 +02:00
2007-07-20 21:42:24 +02:00
2007-07-18 08:47:40 -07:00
2007-07-14 19:07:52 -07:00
2007-07-17 10:23:06 -07:00
2007-07-16 09:05:52 -07:00
2007-07-16 09:05:52 -07:00
2007-07-18 09:02:56 -04:00
2007-07-18 09:15:20 -04:00
2007-07-18 09:15:20 -04:00
2007-07-18 09:19:57 -04:00
2007-07-17 21:42:44 -04:00
2007-07-17 10:23:13 -07:00
2007-07-16 09:05:45 -07:00
2007-07-19 10:04:42 -07:00
2007-07-19 10:04:44 -07:00
2007-07-18 18:29:37 -04:00
2007-07-16 09:05:41 -07:00
2007-07-18 15:47:52 -07:00
2007-07-16 08:52:46 +02:00
2007-07-17 10:22:59 -07:00
2007-07-19 10:04:41 -07:00
2007-07-16 09:05:45 -07:00
2007-07-17 10:22:59 -07:00
2007-07-20 11:11:16 +02:00
2007-07-19 14:24:57 -07:00
2007-07-20 10:11:58 +09:00
2007-07-24 09:28:11 +02:00
2007-07-16 09:05:34 -07:00
2007-07-12 16:07:26 -04:00
2007-07-14 18:55:06 -07:00
2007-07-14 18:53:28 -07:00
2007-07-16 09:05:47 -07:00
2007-07-21 18:37:08 -07:00
2007-07-18 00:38:45 -04:00
2007-07-22 11:44:00 -07:00
2007-07-16 09:05:50 -07:00
2007-07-20 10:06:38 +02:00
2007-07-16 09:05:47 -07:00
2007-07-21 19:07:33 -07:00
2007-07-16 09:05:46 -07:00
2007-07-18 08:57:06 -04:00
2007-07-17 10:23:03 -07:00
2007-07-16 09:05:46 -07:00
2007-07-21 18:37:08 -07:00
2007-07-17 10:23:05 -07:00
2007-07-18 08:47:40 -07:00
2007-07-18 15:49:49 -07:00
2007-07-19 10:04:44 -07:00
2007-07-16 01:20:23 +01:00
2007-07-22 11:22:01 -07:00
2007-07-19 10:04:52 -07:00
2007-07-19 10:04:52 -07:00
2007-07-19 10:04:52 -07:00
2007-07-24 16:55:01 -04:00
2007-07-17 10:23:03 -07:00
2007-07-17 10:23:13 -07:00
2007-07-19 10:04:49 -07:00
2007-07-24 12:24:59 -07:00
2007-07-16 09:05:34 -07:00
2007-07-16 12:05:49 +03:00
2007-07-18 08:47:45 -07:00
2007-07-17 10:22:59 -07:00
2007-07-19 10:04:45 -07:00
2007-07-17 10:22:59 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:42 -07:00
2007-07-19 10:04:45 -07:00
2007-07-16 09:05:51 -07:00
2007-07-20 19:45:45 -07:00
2007-07-18 15:47:05 -07:00
2007-07-19 15:21:39 -04:00
2007-07-19 15:21:39 -04:00
2007-07-19 10:04:42 -07:00
2007-07-16 09:05:48 -07:00
2007-07-20 13:41:56 +10:00
2007-07-22 21:30:59 +10:00
2007-07-20 13:10:22 +10:00
2007-07-20 21:42:24 +02:00
2007-07-19 10:04:52 -07:00
2007-07-24 20:26:25 -07:00
2007-07-24 16:55:01 -04:00
2007-07-16 09:05:41 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:48 -07:00
2007-07-11 19:46:26 -07:00
2007-07-19 10:04:42 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:39 -07:00
2007-07-17 10:23:03 -07:00
2007-07-18 08:47:40 -07:00
2007-07-21 18:37:10 -07:00
2007-07-19 21:28:35 +02:00
2007-07-12 10:55:54 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:50 -07:00
2007-07-11 22:52:29 -04:00
2007-07-24 12:24:58 -07:00
2007-07-24 12:24:58 -07:00
2007-07-16 09:05:35 -07:00
2007-07-18 00:37:01 -04:00
2007-07-22 11:03:37 -07:00
2007-07-15 16:40:51 -07:00
2007-07-17 10:23:01 -07:00
2007-07-20 12:33:44 -07:00
2007-07-17 17:26:43 -07:00
2007-07-20 08:24:50 -07:00
2007-07-16 09:05:42 -07:00
2007-07-17 14:39:19 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:46 -07:00
2007-07-19 10:04:49 -07:00
2007-07-19 10:04:49 -07:00
2007-07-16 09:05:40 -07:00
2007-07-19 10:04:49 -07:00
2007-07-18 08:47:40 -07:00
2007-07-19 10:04:42 -07:00
2007-07-17 10:22:59 -07:00
2007-07-20 21:42:15 +02:00
2007-07-16 09:05:46 -07:00
2007-07-25 10:17:44 -07:00
2007-07-16 09:05:45 -07:00
2007-07-20 11:23:02 -07:00
2007-07-13 10:11:52 -07:00
2007-07-16 09:05:47 -07:00
2007-07-18 15:57:15 -07:00
2007-07-16 09:05:45 -07:00
2007-07-12 16:34:42 -07:00
2007-07-12 16:34:40 -07:00
2007-07-19 14:05:08 -07:00
2007-07-16 09:05:48 -07:00
2007-07-20 17:35:52 -03:00
2007-07-21 18:37:14 -07:00
2007-07-17 10:22:59 -07:00
2007-07-17 10:23:11 -07:00
2007-07-16 09:05:51 -07:00