freebsd-dev/sys
Neel Natu f49fde7faf Fix a race between clock_intr() and tick_ticker() when updating
'counter_upper' and 'counter_lower_last'. The race exists because
interrupts are enabled even though tick_ticker() executes in a
critical section.

Fix a bug in clock_intr() in how it updates the cached values of
'counter_upper' and 'counter_lower_last'. They are updated only
when the COUNT register rolls over. More interestingly it will *never*
update the cached values if 'counter_lower_last' happens to be zero.

Get rid of superfluous critical section in clock_intr(). There is no
reason to do this because clock_intr() executes in hard interrupt
context.

Switch back to using 'tick_ticker()' as the cpu ticker for Sibyte.

Reviewed by:	jmallett, mav
2010-08-05 04:59:54 +00:00
..
amd64 Remove an unnecessary register load. 2010-08-03 16:08:58 +00:00
arm Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
boot mdoc: make sure to pass at least one argument to quotation macros 2010-08-02 13:11:35 +00:00
bsm
cam Fix two (very common) occurrences of s/sytem/system in comments. 2010-08-02 18:06:49 +00:00
cddl Import two changesets from OpenSolaris to make future updates easier. 2010-07-25 15:17:24 +00:00
compat Copy inode birthtime to the struct stat32. 2010-08-04 14:38:20 +00:00
conf Add support for the IBM Full-System Simulator (Mambo). This code has been 2010-07-31 13:22:34 +00:00
contrib Update the port of FreeBSD to Cavium Octeon to use the Cavium Simple Executive 2010-07-20 19:25:11 +00:00
crypto Crypto(4) driver for AESNI. 2010-07-23 11:00:46 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Do not free sc if attach failed, as it was allocated by the bus 2010-08-04 07:49:40 +00:00
fs Modify the return value for nfscl_mustflush() from boolean_t, 2010-08-03 01:49:28 +00:00
gdb
geom Check that gsp is not NULL before access. It can be NULL 2010-08-03 11:21:17 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Tweak the logic to disable CLFLUSH in virtual environments to work around 2010-08-02 17:01:23 +00:00
ia64 Mark the __curthread() functions as __pure2 and remove the volatile keyword 2010-07-29 18:44:10 +00:00
isa When we are not switching VTs, just mark all buffer to be updated. 2010-07-15 23:11:51 +00:00
kern In order for MAXVNODES_MAX to be an "int" on powerpc and sparc, we must 2010-08-04 05:09:02 +00:00
kgssapi
libkern Provide memchr() in the libkern. 2010-06-02 17:27:23 +00:00
mips Fix a race between clock_intr() and tick_ticker() when updating 2010-08-05 04:59:54 +00:00
modules pci_if.h is required to build atacore. 2010-07-31 00:08:18 +00:00
net Properly set ifi_datalen for compat32 struct if_data32. 2010-08-03 15:40:42 +00:00
net80211 - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replay 2010-07-01 20:50:12 +00:00
netatalk
netgraph Fix typo 2010-08-02 22:26:08 +00:00
netinet Cleanup code. 2010-08-01 08:06:59 +00:00
netinet6 Document the mandatory argument to the arptimer() and 2010-07-31 21:33:18 +00:00
netipsec MFp4 @178283: 2010-05-24 16:27:47 +00:00
netipx
netnatm
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Add some mutex locking on the nfsnode to the regular NFS client. 2010-08-04 01:19:11 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm
opencrypto Add compat32 shims for opencrypto(4). 2010-07-29 20:42:20 +00:00
pc98 Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
pci Implement WOL. WOL is supported on RTL8139B or newer controllers. 2010-07-19 18:01:06 +00:00
powerpc Improve hash coverage for kernel page table entries by modifying the kernel 2010-07-31 21:35:15 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Add a case to make sure that internal audit records get converted 2010-05-04 15:29:07 +00:00
sparc64 Adapt sparc64 and sun4v timer code for the new event timers infrastructure. 2010-07-29 12:08:46 +00:00
sun4v Adapt sparc64 and sun4v timer code for the new event timers infrastructure. 2010-07-29 12:08:46 +00:00
sys Bump __FreeBSD_version for multizone malloc(9). 2010-07-28 15:47:32 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools Flattened Device Tree helper scripts. 2010-06-02 17:22:38 +00:00
ufs Revert the previous commit. The race is not applicable to the lockmgr 2010-07-16 19:52:03 +00:00
vm Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
x86 When performing a sanity check on the SRAT table to ensure that each 2010-07-29 17:37:35 +00:00
xdr
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile