linux/arch/ia64
Tony Luck d4d1fc61eb ia64: Update fsyscall gettime to use modern vsyscall_update
John Stultz provided the outline for this patch back in May 2014 here:

	http://patches.linaro.org/patch/30501/

but I let this sit on the shelf for too long and in the intervening
years almost every field in "struct timekeeper" was changed. So this
is almost completely different from his original. Though the key change
in arch/ia64/kernel/fsys.S remains the same.

The core logic change with the updated vsyscall method is that we
preserve the base nanosecond value in shifted nanoseconds, which
allows us to avoid truncating and rounding up to the next nanosecond
every tick to avoid inconsistencies.

Thus the logic moved from
nsec = ((cycle_delta * mult)>>shift) + base_nsec;
to
nsec = ((cycle_delta * mult) + base_snsec) >> shift;

Cc: John Stultz <john.stultz@linaro.org>
Cc: linux-ia64@vger.kernel.org
Signed-off-by: Tony Luck <tony.luck@intel.com>
2017-10-31 10:58:36 -07:00
..
configs [IA64] refresh arch/ia64/configs/* using "make savedefconfig" 2014-09-23 11:09:29 -07:00
dig Disintegrate asm/system.h for IA64 2012-03-28 18:30:02 +01:00
hp tty: simserial: drop unused alt_speed handling 2017-06-13 11:49:58 +02:00
include Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2017-09-11 18:34:47 -07:00
kernel ia64: Update fsyscall gettime to use modern vsyscall_update 2017-10-31 10:58:36 -07:00
lib kill strlen_user() 2017-05-15 23:40:22 -04:00
mm mm/hugetlb: add size parameter to huge_pte_offset() 2017-07-06 16:24:34 -07:00
oprofile Disintegrate asm/system.h for IA64 2012-03-28 18:30:02 +01:00
pci PCI: Add a generic weak pcibios_align_resource() 2017-08-02 14:53:16 -05:00
scripts ia64: remove paravirt code 2015-06-10 14:26:32 -07:00
sn ia64: sn: pci: move inline before type 2017-07-12 16:26:04 -07:00
uv
install.sh
Kconfig ia64: Update fsyscall gettime to use modern vsyscall_update 2017-10-31 10:58:36 -07:00
Kconfig.debug get rid of SYSVIPC_COMPAT on ia64 2017-07-15 20:46:48 -04:00
Makefile kbuild: drop redundant "PHONY += FORCE" 2016-04-20 10:38:40 +02:00
module.lds