freebsd-nq/sys
Justin T. Gibbs 5405e7e2ee Provide high precision conversion from ns,us,ms -> sbintime in kevent
In timer2sbintime(), calculate the second and fractional second portions of
the sbintime separately. When calculating the the fractional second portion,
use a 64bit multiply to prevent excess truncation. This avoids the ~7% error
in the original conversion for ns, and smaller errors of the same type for us
and ms.

PR: 198139
Reviewed by: jhb
MFC after: 1 week
Differential Revision:    https://reviews.freebsd.org/D5397
2016-03-12 23:02:53 +00:00
..
amd64 Fix reporting of the CloudABI ABI in kdump. 2016-03-09 18:38:30 +00:00
arm Add SMP support for the Allwinner A31 and A31s. This updated the existing 2016-03-06 11:41:08 +00:00
arm64 Fix reporting of the CloudABI ABI in kdump. 2016-03-09 18:38:30 +00:00
boot boot/efi: Prefer nm to objdump 2016-03-12 21:44:33 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam Move to new value for XPT_GET_SIM_KNOB to avoid clash with XPT_ATA_IO. 2016-03-10 06:25:05 +00:00
cddl Make ZFS ignore stripe sizes above SPA_MAXASHIFT (8KB). 2016-03-10 16:39:46 +00:00
compat Regen. 2016-03-12 22:55:07 +00:00
conf Enable FAST_DEPEND by default. 2016-03-12 22:25:10 +00:00
contrib Remove redundant NULL pointer comparison. 2016-03-02 03:28:57 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add helper to catch single step debug event and distinguish it from bkpt 2015-11-27 19:03:59 +00:00
dev drm/i915: Import Linux commit 168f83660211b9e059e3bc0638daaa01e9ea0b71 2016-03-12 20:05:23 +00:00
fs Use S_BLKSIZE instead of magic constant. 2016-03-12 09:33:26 +00:00
gdb
geom Don't assume that bio_cmd is a bit mask. 2016-03-10 06:25:39 +00:00
gnu Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We 2016-02-09 16:42:32 +00:00
i386 Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
isa Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00
kern Provide high precision conversion from ns,us,ms -> sbintime in kevent 2016-03-12 23:02:53 +00:00
kgssapi kcrypto_aes: Use separate sessions for AES and SHA1 2016-02-02 00:14:51 +00:00
libkern
mips Don't assume that bio_cmd is a bitfield. 2016-03-10 06:25:47 +00:00
modules Reduce duplicated logic from r291744. 2016-03-12 22:21:14 +00:00
net buf_ring/drbr: Add buf_ring_peek_clear_sc and use it in drbr_peek 2016-02-29 03:54:51 +00:00
net80211 net80211: fix possible overflow in IEEE80211_TU_TO_TICKS() 2016-03-04 21:22:11 +00:00
netgraph Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
netinet Use SI_SUB_LAST instead of SI_SUB_SMP as the "catch-all" subsystem. 2016-03-11 23:18:06 +00:00
netinet6 New way to manage reference counting of mbuf external storage. 2016-03-01 00:17:14 +00:00
netipsec Set tres to NULL to avoid a double free if the m_pullup() below fails. 2016-03-02 05:04:04 +00:00
netnatm
netpfil Use correct size for malloc. 2016-03-03 13:07:59 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs MFP r287070,r287073: split radix implementation and route table structure. 2016-01-25 06:33:15 +00:00
nfsclient
nfsserver
nlm
ofed Use SI_SUB_LAST instead of SI_SUB_SMP as the "catch-all" subsystem. 2016-03-11 23:18:06 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Another convert to bus_alloc_resource_anywhere(). 2016-03-03 01:09:00 +00:00
powerpc Let rman_init() initialize the default rman range. 2016-03-03 01:12:13 +00:00
riscv Add support for ddb(4). 2016-03-10 15:51:43 +00:00
rpc These files were getting sys/malloc.h and vm/uma.h with header pollution 2016-02-01 17:41:21 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Correct the memory rman ranges to be to BUS_SPACE_MAXADDR 2016-03-01 02:59:06 +00:00
sys Regen. 2016-03-12 22:55:07 +00:00
teken
tests
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs The UFS filesystem requires that the last block of a file always be 2016-02-24 01:58:40 +00:00
vm Remove UMA_ZONE_REFCNT feature, now unused. 2016-03-01 00:33:32 +00:00
x86 Replace all resource occurrences of '0UL/~0UL' with '0/~0'. 2016-03-03 05:07:35 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00