kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.The main reason is that our having to use the MB_WAIT and MB_DONTWAITflags was a recurring issue when porting drivers from FreeBSD
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.The main reason is that our having to use the MB_WAIT and MB_DONTWAITflags was a recurring issue when porting drivers from FreeBSD becauseit tended to get forgotten and the code would compile anyway with thewrong constants. And since MB_WAIT and MB_DONTWAIT ended up as ocflagsfor an objcache_get() or objcache_reclaimlist call (which use M_WAITOKand M_NOWAIT), it was just one big converting back and forth with somesanitization in between.This commit allows M_* again for the mbuf functions and keeps thesanitizing as it was before: when M_WAITOK is among the passed flags,objcache functions will be called with M_WAITOK and when it is absent,they will be called with M_NOWAIT. All other flags are scrubbed by theMB_OCFLAG() macro which does the same as the former MBTOM().Approved-by: dillon
show more ...
kernel/netgraph7: Remove KMODDEPS.
kernel/net*: Remove some #include duplicates.
Revert "netgraph7: Make netgraph7 kernel modules names unique."This reverts commit b3caef111369521fa1099de35840437191aa1436.* Now that netgraph7 kernel buils is under the WANT_NETGRAPH7 make va
Revert "netgraph7: Make netgraph7 kernel modules names unique."This reverts commit b3caef111369521fa1099de35840437191aa1436.* Now that netgraph7 kernel buils is under the WANT_NETGRAPH7 make variable, this commit can be reverted.
netgraph7: Make netgraph7 kernel modules names unique.* This way, netgraph (legacy) and netgraph7 kernel modules names do not colide and do not overwrite each other in /boot/<blah> during make
netgraph7: Make netgraph7 kernel modules names unique.* This way, netgraph (legacy) and netgraph7 kernel modules names do not colide and do not overwrite each other in /boot/<blah> during make installkernel.
Apply netgraph7 megapatch.* Translate objcache calls.* Translate uma_zone to objcache.* Introduce libnetgraph7 (is compiled when WANT_NETGRAPH7 is defined).* Welcome ng_socket.* Convert netgrap
Apply netgraph7 megapatch.* Translate objcache calls.* Translate uma_zone to objcache.* Introduce libnetgraph7 (is compiled when WANT_NETGRAPH7 is defined).* Welcome ng_socket.* Convert netgraph netisr to a real taskqueue. This fixes a deadlock specific to dragonfly.* Welcome ng_async.* Welcome ng_UI.* Welcome ng_ether.* Fix mtx_assert translation.* Welcome ng_hole.* Welcome ng_cisco.* Welcome ng_iface.* Welcome ng_tee.* Welcome ng_atmllc.* Welcome ng_bpf.* Welcome ng_vjc.