freebsd-dev/sys
Gleb Smirnoff e87c494015 Although most of the NIC drivers are epoch ready, due to peer pressure
switch over to opt-in instead of opt-out for epoch.

Instead of IFF_NEEDSEPOCH, provide IFF_KNOWSEPOCH. If driver marks
itself with IFF_KNOWSEPOCH, then ether_input() would not enter epoch
when processing its packets.

Now this will create recursive entrance in epoch in >90% network
drivers, but will guarantee safeness of the transition.

Mark several tested drivers as IFF_KNOWSEPOCH.

Reviewed by:		hselasky, jeff, bz, gallatin
Differential Revision:	https://reviews.freebsd.org/D23674
2020-02-24 21:07:30 +00:00
..
amd64 amd64: keep PTE bitmasks in sync with target pmap during pv reclaim 2020-02-18 00:02:20 +00:00
arm Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (13 of many) 2020-02-24 10:45:22 +00:00
arm64 Split out the stage 1 pte bits and add the stage 2 bits 2020-02-24 16:45:31 +00:00
bsm vfs: add realpathat syscall 2020-02-20 16:58:19 +00:00
cam We pass a pointer to the flags to dabitsysctl, not an integer. Adjust the 2020-02-21 22:44:22 +00:00
cddl Remove duplicate dbufs accounting. 2020-02-07 15:50:47 +00:00
compat linuxkpi: Move shmem related functions in it's own file 2020-02-21 09:28:45 +00:00
conf Add a soft-float riscv kernel config 2020-02-24 16:42:44 +00:00
contrib Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (8 of many) 2020-02-24 10:35:58 +00:00
crypto
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (10 of many) 2020-02-24 10:37:56 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (12 of many) 2020-02-24 10:42:56 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 i386: remove no longer needed atomic_load_ptr casts 2020-02-14 23:17:37 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern sys/kern: quiet -Wwrite-strings 2020-02-23 03:32:16 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00
modules linuxkpi: Move shmem related functions in it's own file 2020-02-21 09:28:45 +00:00
net Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00
net80211 Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (7 of many) 2020-02-21 16:32:17 +00:00
netgraph Rework second part of r357558. Unroll the macro and allocate memory in 2020-02-21 04:18:15 +00:00
netinet Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (14 of many) 2020-02-24 10:47:18 +00:00
netinet6 Fix IPv6 checksums when exthdrs are present. 2020-02-24 19:12:20 +00:00
netipsec netipsec: fix a mismatched uma_zfree -> uma_zfree_pcpu 2020-02-12 20:18:29 +00:00
netpfil Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (6 of many) 2020-02-21 16:23:00 +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 Miscellaneous typo fixes 2020-02-07 19:53:07 +00:00
powerpc powerpc/booke: Fix handling of pvh_global_lock and pmap lock 2020-02-22 01:31:06 +00:00
riscv Add a soft-float riscv kernel config 2020-02-24 16:42:44 +00:00
rpc
security audit: provide audit_canon_path variant which accepts vnodes 2020-02-21 01:40:49 +00:00
sys sys/kern: quiet -Wwrite-strings 2020-02-23 03:32:16 +00:00
teken
tests
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs Additional KASSERTs to ensure the consistency of the soft updates 2020-02-18 23:56:23 +00:00
vm The last argument to swp_pager_getswapspace is always 1. Remove that argument. 2020-02-24 04:01:09 +00:00
x86 x86/identcpu.c whitespace cleanup. 2020-02-21 16:55:28 +00:00
xdr typo: s/impelmentation/implementation/. 2020-02-07 15:14:29 +00:00
xen
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00