freebsd-skq/sys
John Baldwin 5a02cd314d Trim duplicate CSR swaps from user exceptions.
The stack pointer is swapped with the sscratch CSR just before the
jump to cpu_exception_handler_user where the first instruction swaps
it again.  The two swaps together are a no-op, but the csr swap
instructions can be expensive (e.g. on Bluespec RISC-V cores csr swap
instructions force a full pipeline stall).

Reported by:	jrtc27
Reviewed by:	br
MFC after:	2 weeks
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D23394
2020-01-30 22:19:48 +00:00
..
amd64 amd64: speed up failing case for memcmp 2020-01-30 19:56:22 +00:00
arm Create a convenince wrapper to fill in a CAM_PATH_INQ request for MMC sims. Pass 2020-01-27 22:19:55 +00:00
arm64 Shift the ITS processor ID after reading it. 2020-01-30 18:49:19 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Fix spelling of removable 2020-01-29 00:28:50 +00:00
cddl zfs: fix spurious lock contention during path lookup 2020-01-30 02:16:17 +00:00
compat Add TCP_CORK support to linux(4). This fixes one of the things Nginx 2020-01-28 13:57:24 +00:00
conf config.mk: #define MAC as well 2020-01-29 22:40:13 +00:00
contrib MFV: r356607 2020-01-10 22:49:14 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev aic7xxx(4): Fix unintended sign extension in ahd_inq() 2020-01-30 18:12:24 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs Fix a bug in r357199. 2020-01-30 19:34:37 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom Fix aggregating geoms for BIO_SPEEDUP. 2020-01-27 13:15:16 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 Fix 64-bit syscall argument fetching in 32-bit Linux syscall handlers. 2020-01-21 17:28:22 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern Remove duplicated empty lines from kern/*.c 2020-01-30 20:05:05 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
modules modules: adding some missing opt_* dependencies 2020-01-29 22:43:56 +00:00
net Widen EPOCH(9) usage in netisr. 2020-01-30 12:04:02 +00:00
net80211 net80211: Move rate printing in amrr_node_stats() to a separate method 2020-01-17 22:04:11 +00:00
netgraph ng_nat: Pass IPv6 packets through. 2020-01-23 16:45:48 +00:00
netinet Fix missing NET_EPOCH_ENTER() when compiled with TCP_OFFLOAD. 2020-01-29 22:48:18 +00:00
netinet6 Enter network epoch when calling in_pcbconnect() for IPv6 mapped to IPv4 2020-01-22 17:06:55 +00:00
netipsec Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. 2019-12-01 00:22:04 +00:00
netpfil pf: Apply kif flags to new group members 2020-01-23 22:13:41 +00:00
netsmb
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
powerpc [PPC64] Fix NUMA on POWER8 2020-01-29 18:13:44 +00:00
riscv Trim duplicate CSR swaps from user exceptions. 2020-01-30 22:19:48 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security vfs: eliminate v_tag from struct vnode 2020-01-07 04:29:34 +00:00
sparc64 sparc64: Busy the TSB page before freeing it in pmap_release(). 2020-01-23 17:18:58 +00:00
sys vfs: remove the never set VDESC_NOMAP_VPP flag 2020-01-30 08:56:22 +00:00
teken
tests
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs ufs: add the missing vn_need_pageq_flush call to ufs_need_inactive 2020-01-30 05:37:35 +00:00
vm Restore OOM logic on page fault after r357026. 2020-01-29 12:02:47 +00:00
x86 hwpstate_intel(4): Silence/fix Coverity reports 2020-01-29 03:15:34 +00:00
xdr
xen
Makefile