1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys
Robert Watson d0728d7174 Introduce and use a sysinit-based initialization scheme for virtual
network stacks, VNET_SYSINIT:

- Add VNET_SYSINIT and VNET_SYSUNINIT macros to declare events that will
  occur each time a network stack is instantiated and destroyed.  In the
  !VIMAGE case, these are simply mapped into regular SYSINIT/SYSUNINIT.
  For the VIMAGE case, we instead use SYSINIT's to track their order and
  properties on registration, using them for each vnet when created/
  destroyed, or immediately on module load for already-started vnets.
- Remove vnet_modinfo mechanism that existed to serve this purpose
  previously, as well as its dependency scheme: we now just use the
  SYSINIT ordering scheme.
- Implement VNET_DOMAIN_SET() to allow protocol domains to declare that
  they want init functions to be called for each virtual network stack
  rather than just once at boot, compiling down to DOMAIN_SET() in the
  non-VIMAGE case.
- Walk all virtualized kernel subsystems and make use of these instead
  of modinfo or DOMAIN_SET() for init/uninit events.  In some cases,
  convert modular components from using modevent to using sysinit (where
  appropriate).  In some cases, do minor rejuggling of SYSINIT ordering
  to make room for or better manage events.

Portions submitted by:	jhb (VNET_SYSINIT), bz (cleanup)
Discussed with:		jhb, bz, julian, zec
Reviewed by:		bz
Approved by:		re (VIMAGE blanket)
2009-07-23 20:46:49 +00:00
..
amd64 When the page caching attributes are changed, after new mapping is 2009-07-22 14:32:38 +00:00
arm Make dcache_inv_range() point to the proper routines on ARM9 and ARM9E/ARM10. 2009-07-21 08:29:19 +00:00
boot
bsm Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating 2009-07-17 14:02:20 +00:00
cam Fix copy-paste bug. Use regular non-polled mode for executing FLUSHCACHE 2009-07-17 21:48:08 +00:00
cddl Fix extattr_list_file(2) on ZFS in case the attribute directory 2009-07-22 15:15:58 +00:00
compat Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
conf Add siis CAM driver for SiliconImage SiI3124/3132/3531 SATA2 controllers. 2009-07-21 12:32:46 +00:00
contrib Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
crypto
ddb Build on Jeff Roberson's linker-set based dynamic per-CPU allocator 2009-07-14 22:48:30 +00:00
dev Fix serial console on Apple Xserve G5 by falling back to input-device-1 2009-07-23 12:51:27 +00:00
fs When vfs.newnfs.callback_addr is set to an IPv4 address, the 2009-07-22 18:10:44 +00:00
gdb
geom - Fix the issue with read access count modification on RAID-5 plexes properly. 2009-07-18 11:12:48 +00:00
gnu
i386 Eliminate unnecessary cache and TLB flushes by pmap_change_attr(). (This 2009-07-23 19:43:23 +00:00
ia64 Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
isa
kern Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
kgssapi
libkern
mips Add support to the virtual memory system for configuring machine- 2009-07-12 23:31:20 +00:00
modules correct setup of opt_ddb.h 2009-07-21 19:24:53 +00:00
net Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
net80211 store mesh timers as ticks and sysctls for changing the defaults 2009-07-21 19:38:22 +00:00
netatalk
netgraph Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netinet Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netinet6 Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netipsec Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
netipx
netnatm
netncp
netsmb
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Patch the regular nfs client in a manner analagous to 2009-07-17 19:38:07 +00:00
nfsserver
nlm
opencrypto
pc98 Implementation of the upcoming Wireless Mesh standard, 802.11s, on the 2009-07-11 15:02:45 +00:00
pci Adding hardware ID for RTL810x PCIe found on HP Pavilion DV2-1022AX. 2009-07-14 04:35:13 +00:00
powerpc Do not use OCP85XX_LBC_OFF twice when accessing LBC registers on MPC85XX. 2009-07-21 08:38:45 +00:00
rpc Use PBDRY flag for msleep(9) in NFS and NLM when sleeping thread owns 2009-07-14 22:54:29 +00:00
security Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating 2009-07-17 14:02:20 +00:00
sparc64 Add a MD __PCI_BAR_ZERO_VALID which denotes that BARs containing 0 2009-07-21 19:06:39 +00:00
sun4v Correct an error of omission in r195649 ("Add support to the virtual memory 2009-07-13 18:11:59 +00:00
sys Introduce and use a sysinit-based initialization scheme for virtual 2009-07-23 20:46:49 +00:00
tools - Increase dynamic range of filter coefficients from 28bit to 30bit. 2009-07-05 18:15:06 +00:00
ufs Fix fpathconf(3) on fifos, in effect making ls(1) properly 2009-07-02 20:05:21 +00:00
vm Change the handling of fictitious pages by pmap_page_set_memattr() on 2009-07-19 21:40:19 +00:00
xdr
xen Catch up with r195249, "Improve the handling of cpuset with interrupts." 2009-07-21 16:54:11 +00:00
Makefile