opnsense-src/sys
Alexander Motin 075e4807df Do not read timer extra time when MWAIT is used.
When we enter C2+ state via memory read, it may take chipset some
time to stop CPU.  Extra register read covers that time.  But MWAIT
makes CPU stop immediately, so we don't need to waste time after
wakeup with interrupts still disabled, increasing latency.

On my system it reduces ping localhost latency, waking up all CPUs
once a second, from 277us to 242us.

MFC after:	1 month
2021-03-08 18:43:47 -05:00
..
amd64 Rename _cscan_atomic.h and _cscan_bus.h to atomic_san.h and bus_san.h 2021-03-08 12:39:06 -05:00
arm mvebu_gpio: Fix settings of gpio pin direction. 2021-03-07 11:41:30 +01:00
arm64 Rename _cscan_atomic.h and _cscan_bus.h to atomic_san.h and bus_san.h 2021-03-08 12:39:06 -05:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam Do not exit ctl_be_block_worker() prematurely. 2021-03-05 22:45:47 -05:00
cddl Handle functions that use a nop in the arm64 fbt 2021-03-03 14:18:03 +00:00
compat linux: add support for SO_PEERGROUPS 2021-03-06 19:48:58 +00:00
conf kern.mk: Fix wrong variable being used for linker path after 172a624f0 2021-03-08 09:37:46 +00:00
contrib Fix dpdk/ldradix fib lookup algorithm preference calculation. 2021-03-07 22:17:53 +00:00
crypto armv8crypto: fix AES-XTS regression introduced by ed9b7f44 2021-03-07 12:03:47 -08:00
ddb ddb: just move cursor when the lexer backs up 2021-02-24 15:56:16 -08:00
dev Do not read timer extra time when MWAIT is used. 2021-03-08 18:43:47 -05:00
dts Remove DTS files for arm boards we don't support 2021-01-27 10:02:01 +00:00
fs nfsclient: Fix ReadDS/WriteDS/CommitDS nfsstats RPC counts for a NFSv3 DS 2021-03-02 14:18:23 -08:00
gdb Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
geom opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
isa Move back the isa non-PNP driver deadline to FreeBSD 14. 2021-03-08 16:00:23 -07:00
kern config_intrhook: Move from TAILQ to STAILQ and padding 2021-03-08 15:59:00 -07:00
kgssapi opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
libkern Restore the augmented strlen commentary 2021-02-08 19:15:21 +00:00
mips [ar71xx] Fix routerstation / routerstation pro redboot FIS probing 2021-02-25 13:14:55 -08:00
modules ice(4): Update to version 0.28.1-k 2021-03-05 17:33:39 -08:00
net iflib: Make if_shared_ctx_t a pointer to const 2021-03-08 12:39:06 -05:00
net80211 net80211: ratectl header guard against multiple inclusions 2021-03-07 17:35:58 +00:00
netgraph netgraph/ng_bridge: Add counters for the first link, too 2021-02-10 19:05:37 +01:00
netinet tcp: Add prr_out in preparation for PRR/nonSACK and LRD 2021-03-06 00:38:22 +01:00
netinet6 Fix 'in6_purgeaddr: err=65, destination address delete failed' message. 2021-03-08 21:28:35 +00:00
netipsec Revert "SO_RERROR indicates that receive buffer overflows should be handled as errors." 2021-02-08 22:32:32 +00:00
netpfil net: Introduce IPV6_DSCP(), IPV6_ECN() and IPV6_TRAFFIC_CLASS() macros 2021-03-04 20:56:48 +01:00
netsmb net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
nfs nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsclient nfs: clean up empty lines in .c and .h files 2020-09-01 21:25:39 +00:00
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm nlm: clean up empty lines in .c and .h files 2020-09-01 22:14:52 +00:00
ofed ofed: quiet gcc -Wint-in-bool-context 2021-02-24 15:56:16 -08:00
opencrypto opencrypto: Make cryptosoft attach silently 2021-03-05 13:11:25 -05:00
powerpc [PowerPC] Fix AP bringup on 32-bit AIM SMP 2021-03-06 15:46:28 -06:00
riscv riscv: fix errors in some atomic type aliases 2021-03-04 16:59:58 -04:00
rpc nfs-over-tls: handle res.gid.gid_val correctly for memory allocation 2021-01-12 13:59:52 -08:00
security Add a comment on why the call to mac_vnode_relabel() might be in the wrong 2021-02-27 16:25:26 +00:00
sys config_intrhook: Move from TAILQ to STAILQ and padding 2021-03-08 15:59:00 -07:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Enable running fib tests inside vnet jail. 2021-01-17 20:32:26 +00:00
tools syscalls.master: Add a new syscall type: RESERVED 2021-01-26 18:27:44 +00:00
ufs FFS extattr: fix handling of the tail 2021-03-02 02:19:34 +02:00
vm vm: Round up npages and alignment for contig reclamation 2021-03-02 10:21:02 -05:00
x86 x86: tsc: deprioritize TSC on VirtualBox 2021-03-08 14:43:06 -06:00
xdr xdr: clean up empty lines in .c and .h files 2020-09-01 22:13:28 +00:00
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile