Konstantin Belousov 5e27d79314 Split kerne timekeep ABI structure vdso_sv_tk out of the struct
sysentvec.  This allows the timekeep data to be shared between similar
ABIs which cannot share sysentvec.

Make the timekeep_push_vdso() tick callback to the timekeep structures
instead of sysentvecs.  If several sysentvec share the vdso_sv_tk
structure, we would update the userspace data several times on each
tick, without the change.

Only allocate vdso_sv_tk in the exec_sysvec_init() sysinit when
sysentvec is marked with the new SV_TIMEKEEP flag.  This saves
allocation and update of unneeded vdso_sv_tk for ABIs which do not
provide userspace gettimeofday yet, which are PowerPCs arches right
now.

Make vdso_sv_tk allocator public, namely split out and export
alloc_sv_tk() and alloc_sv_tk_compat32().  ABIs which share timekeep
data now can allocate it manually and share as appropriate.

Requested by:	nwhitehorn
Tested by:	nwhitehorn, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-11-23 07:09:35 +00:00
..
2015-10-24 03:16:40 +00:00
2012-11-11 23:25:47 +00:00
2013-10-18 11:25:08 +00:00
2014-03-11 10:13:06 +00:00
2015-07-08 22:09:47 +00:00
2015-11-05 14:55:58 +00:00
2014-07-02 13:24:21 +00:00
2013-10-16 09:12:40 +00:00
2015-07-04 10:33:33 +00:00
2014-07-07 00:27:09 +00:00
2015-04-22 01:54:25 +00:00
2014-09-28 11:32:46 +00:00
2014-07-07 00:27:09 +00:00
2015-07-16 07:05:42 +00:00
2012-12-10 23:12:51 +00:00
2015-10-08 21:52:20 +00:00
2015-10-26 02:21:19 +00:00
2015-05-15 20:43:37 +00:00
2015-05-28 22:06:05 +00:00
2014-11-13 05:26:14 +00:00
2014-07-30 00:28:29 +00:00
2015-09-29 12:14:59 +00:00
2015-05-24 11:24:14 +00:00
2015-11-19 05:50:22 +00:00
2015-04-22 14:38:58 +00:00
2015-04-22 14:38:58 +00:00