linux/include
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
..
acpi Pull netlink into release branch 2007-07-22 04:14:07 -04:00
asm-alpha take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-arm [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
asm-arm26 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-avr32
asm-blackfin
asm-cris
asm-frv
asm-generic
asm-h8300 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-i386 i386: Use patchable lock prefix in set_64bit 2007-07-22 11:03:38 -07:00
asm-ia64 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-m32r
asm-m68k take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-m68knommu
asm-mips [MIPS] Whitespace cleanup. 2007-07-24 16:02:47 +01:00
asm-parisc
asm-powerpc [POWERPC] Provide ability to setup P2P bridge registers from struct resource 2007-07-23 22:30:08 -05:00
asm-ppc [POWERPC] Fix ARCH=ppc builds 2007-07-22 21:30:58 +10:00
asm-s390
asm-sh
asm-sh64 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-sparc take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-sparc64
asm-um
asm-v850 take declarations of enable_irq() et.al. to linux/interrupt.h 2007-07-22 11:44:00 -07:00
asm-x86_64 x86_64: Share msidef.h and hypertransport.h includes with i386 2007-07-22 11:03:38 -07:00
asm-xtensa include/asm-xtensa/io.h must #include <asm/page.h> 2007-07-24 12:24:59 -07:00
crypto
keys
linux Cache xtime every call to update_wall_time 2007-07-25 10:17:44 -07:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
sound
video
xen
Kbuild