freebsd-dev/sys
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
..
amd64 Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
arm Remove unneeded includes of opt_kdtrace.h. 2015-11-22 02:01:01 +00:00
arm64 Fix BUS_DMA_MIN_ALLOC_COMP flag logic. When bus_dmamap_t map is being 2015-11-21 19:55:01 +00:00
boot Print more detailed info about the disk and partition chosen for booting. 2015-11-22 20:38:50 +00:00
bsm
cam Add API to obtain primary enclosure name and ID for /dev/sesX devices. 2015-11-21 10:22:01 +00:00
cddl Fix a bug in the amd64 dtrace_getarg() implementation: when unwinding the 2015-11-19 05:33:15 +00:00
compat Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
conf Move hdmi_if.m to files.arm so other kernel configs can use it. 2015-11-21 16:25:03 +00:00
contrib Fix slots DMA memory handling. It's similar to r290553. 2015-11-10 10:56:52 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Explicitly call SEND CHANGE REQUEST for pre-24xx chips in target mode. 2015-11-22 17:03:38 +00:00
fs When the nfsd threads are terminated, the NFSv4 server state 2015-11-21 23:55:46 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Fix early kernel dump via dumpdev env 2015-11-17 20:55:50 +00:00
gnu Fixing a memory leak on module unloading. 2015-09-11 22:43:35 +00:00
i386 Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
isa
kern Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
kgssapi
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips [mips]: Don't hard-code PHYS_AVAIL_ENTRIES. 2015-11-22 02:40:19 +00:00
modules Don't explicitly set INET/INET6 in the Makefile; opt_inet.h and opt_inet6.h 2015-11-22 23:07:07 +00:00
net Implement the sadb_x_policy_priority field as it is done in Linux: 2015-11-17 14:39:33 +00:00
net80211 net80211: add ieee80211_restart_all() call. 2015-10-27 20:40:57 +00:00
netgraph Move iflladdr_event eventhandler invocation to if_setlladdr. 2015-11-14 13:34:03 +00:00
netinet Fix the handling of IPSec policies in the SCTP stack. At least 2015-11-21 18:21:16 +00:00
netinet6 in6_mc_get: Fix recursion on if_addr_lock on malloc failure 2015-11-19 00:27:26 +00:00
netipsec Implement the sadb_x_policy_priority field as it is done in Linux: 2015-11-17 14:39:33 +00:00
netnatm
netpfil Fix dynamic IPv6 rules showing junk for non-specified address masks. 2015-11-17 20:42:08 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs Wait up to 10 seconds for late-initializing network interfaces to arrive. 2015-09-26 13:55:55 +00:00
nfsclient
nfsserver
nlm
ofed Don't leak work if __mlx4_register_vlan(..) fails in 2015-11-19 01:08:16 +00:00
opencrypto Remove unneeded includes of opt_kdtrace.h. 2015-11-22 02:01:01 +00:00
pc98 Remove compatibility shims for legacy ATA device names. 2015-10-11 13:01:51 +00:00
powerpc Remove a debug panic that crept into r291151 2015-11-22 01:20:36 +00:00
rpc Improve locking of sg_threadcount. 2015-11-19 08:04:05 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Merge from r290547: 2015-11-21 02:49:33 +00:00
sys Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
teken Sync HPA and VPA implementations with CUP. 2015-08-24 07:49:27 +00:00
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Rename the /usr/share/doc/legal files to driver.LICENSE to work around 2015-10-16 00:38:05 +00:00
ufs Do not perform read-ahead for BA_CLRBUF request when we are low on 2015-10-27 13:44:13 +00:00
vm Record proper commit message for r291157. 2015-11-22 09:50:13 +00:00
x86 Fix BUS_DMA_MIN_ALLOC_COMP flag logic. When bus_dmamap_t map is being 2015-11-21 19:55:01 +00:00
xdr
xen xen/intr: fix the event channel enabled per-cpu mask 2015-11-05 14:33:46 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00