freebsd-dev/sys
Konstantin Belousov 21c295ef88 Stop updating the struct vdso_timehands from even handler executed in
the scheduled task from tc_windup(). Do it directly from tc_windup in
interrupt context [1].

Establish the permanent mapping of the shared page into the kernel
address space, avoiding the potential need to sleep waiting for
allocation of sf buffer during vdso_timehands update. As a
consequence, shared_page_write_start() and shared_page_write_end()
functions are not needed anymore.

Guess and memorize the pointers to native host and compat32 sysentvec
during initialization, to avoid the need to get shared_page_alloc_sx
lock during the update.

In tc_fill_vdso_timehands(), do not loop waiting for timehands
generation to stabilize, since vdso_timehands is written in the same
interrupt context which wrote timehands.

Requested by:	  mav [1]
MFC after:	  29 days
2012-06-23 09:33:06 +00:00
..
amd64 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
arm Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
boot MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
bsm
cam Change 'camcontrol defects' to first probe a drive to find out how much 2012-06-22 18:57:06 +00:00
cddl Import Illumos revision 13736:9f1d48e1681f 2012-06-22 20:42:11 +00:00
compat
conf Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
contrib Merge ACPICA 20120620. 2012-06-22 00:40:44 +00:00
crypto
ddb
dev Do not allocate extra vectors when adapter is not TOE 2012-06-22 22:59:42 +00:00
fs Enable deadlock avoidance code for NFS client. 2012-06-21 09:26:06 +00:00
gdb
geom Always reconstruct partition entries in the PMBR when Boot Camp is 2012-06-14 11:17:54 +00:00
gnu/fs
i386 Commit changes missed from r237435. Properly calculate the signal 2012-06-22 16:05:56 +00:00
ia64 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
isa
kern Stop updating the struct vdso_timehands from even handler executed in 2012-06-23 09:33:06 +00:00
kgssapi
libkern Fix unloading of libiconv module. 2012-06-11 17:42:39 +00:00
mips Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
modules - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
net - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
net80211 Extend the radiotap code to be aware of the size of any extra vendor 2012-06-18 02:08:04 +00:00
netatalk
netgraph Make radix lookup on src and dst flow addresses optional 2012-06-18 13:56:36 +00:00
netinet Remove redundant #ifdef. Reported by gnn@. 2012-06-21 12:51:24 +00:00
netinet6 Just add a comment to further investigate when being closer to that code 2012-06-22 21:26:35 +00:00
netipsec
netipx
netnatm
netncp
netsmb When checking if file descriptor number is valid, explicitely check for 'fd' 2012-06-13 22:12:10 +00:00
nfs
nfsclient
nfsserver
nlm
ofed - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
opencrypto
pc98 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
pci
powerpc Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
rpc
security
sparc64 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
sys Stop updating the struct vdso_timehands from even handler executed in 2012-06-23 09:33:06 +00:00
teken
tools
ufs Fix unbounded-length malloc, controlled from usermode. The added check 2012-06-21 09:20:07 +00:00
vm - Add a comment explaining the locking of the cached pages pool held 2012-06-22 18:34:11 +00:00
x86 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
xdr
xen
Makefile